mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-22 07:43:47 +01:00
Updated Alpine to 3.19
This commit is contained in:
parent
4c547adf37
commit
e0f02f3e56
@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:alpine-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} as builder
|
FROM ${BUILD_BASE_IMAGE} as builder
|
||||||
|
|
||||||
FROM alpine:3.18
|
FROM alpine:3.19
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG ZBX_VERSION
|
ARG ZBX_VERSION
|
||||||
|
@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:alpine-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} as builder
|
FROM ${BUILD_BASE_IMAGE} as builder
|
||||||
|
|
||||||
FROM alpine:3.18
|
FROM alpine:3.19
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG ZBX_VERSION
|
ARG ZBX_VERSION
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
FROM alpine:3.18
|
FROM alpine:3.19
|
||||||
|
|
||||||
ARG MAJOR_VERSION=7.0
|
ARG MAJOR_VERSION=7.0
|
||||||
ARG ZBX_VERSION=${MAJOR_VERSION}
|
ARG ZBX_VERSION=${MAJOR_VERSION}
|
||||||
|
@ -23,6 +23,7 @@ ENV MONGODB_PLUGIN_SOURCES=https://git.zabbix.com/scm/ap/mongodb.git MONGODB_PLU
|
|||||||
POSTGRESQL_PLUGIN_SOURCES=https://git.zabbix.com/scm/ap/postgresql.git POSTGRESQL_PLUGIN_VERSION=master
|
POSTGRESQL_PLUGIN_SOURCES=https://git.zabbix.com/scm/ap/postgresql.git POSTGRESQL_PLUGIN_VERSION=master
|
||||||
|
|
||||||
COPY ["conf/chromedp_no_sandbox.patch", "/tmp/chromedp_no_sandbox.patch"]
|
COPY ["conf/chromedp_no_sandbox.patch", "/tmp/chromedp_no_sandbox.patch"]
|
||||||
|
COPY ["conf/agent2_build.patch", "/tmp/agent2_build.patch"]
|
||||||
|
|
||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
ARCH_SUFFIX="$(arch)"; \
|
ARCH_SUFFIX="$(arch)"; \
|
||||||
@ -48,6 +49,7 @@ RUN set -eux && \
|
|||||||
git -c advice.detachedHead=false clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch /tmp/zabbix-${ZBX_VERSION} && \
|
git -c advice.detachedHead=false clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch /tmp/zabbix-${ZBX_VERSION} && \
|
||||||
cd /tmp/zabbix-${ZBX_VERSION} && \
|
cd /tmp/zabbix-${ZBX_VERSION} && \
|
||||||
patch -p1 < /tmp/chromedp_no_sandbox.patch && \
|
patch -p1 < /tmp/chromedp_no_sandbox.patch && \
|
||||||
|
patch -p1 < /tmp/agent2_build.patch && \
|
||||||
zabbix_revision=`git rev-parse --short HEAD` && \
|
zabbix_revision=`git rev-parse --short HEAD` && \
|
||||||
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \
|
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \
|
||||||
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" src/go/pkg/version/version.go && \
|
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" src/go/pkg/version/version.go && \
|
||||||
|
13
Dockerfiles/build-mysql/alpine/conf/agent2_build.patch
Normal file
13
Dockerfiles/build-mysql/alpine/conf/agent2_build.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/src/go/Makefile.am b/src/go/Makefile.am
|
||||||
|
index 2dd9e84e4ea..74bc3fbb91e 100644
|
||||||
|
--- a/src/go/Makefile.am
|
||||||
|
+++ b/src/go/Makefile.am
|
||||||
|
@@ -49,7 +49,7 @@ endif
|
||||||
|
all: build
|
||||||
|
|
||||||
|
zabbix.com/cmd/zabbix_agent2:
|
||||||
|
- CGO_CFLAGS="${CGO_CFLAGS}" CGO_LDFLAGS="${CGO_LDFLAGS}" go build -tags="${AGENT_GOTAGS}" -ldflags="${AGENT_GOLDFLAGS}" -o bin zabbix.com/cmd/zabbix_agent2
|
||||||
|
+ CGO_CFLAGS="${CGO_CFLAGS} -D_LARGEFILE64_SOURCE" CGO_LDFLAGS="${CGO_LDFLAGS}" go build -tags="${AGENT_GOTAGS}" -ldflags="${AGENT_GOLDFLAGS}" -o bin zabbix.com/cmd/zabbix_agent2
|
||||||
|
|
||||||
|
zabbix.com/cmd/zabbix_web_service:
|
||||||
|
go build -ldflags="${WEBSERVICE_GOLDFLAGS}" -o bin zabbix.com/cmd/zabbix_web_service
|
@ -23,6 +23,7 @@ ENV MONGODB_PLUGIN_SOURCES=https://git.zabbix.com/scm/ap/mongodb.git MONGODB_PLU
|
|||||||
POSTGRESQL_PLUGIN_SOURCES=https://git.zabbix.com/scm/ap/postgresql.git POSTGRESQL_PLUGIN_VERSION=master
|
POSTGRESQL_PLUGIN_SOURCES=https://git.zabbix.com/scm/ap/postgresql.git POSTGRESQL_PLUGIN_VERSION=master
|
||||||
|
|
||||||
COPY ["conf/chromedp_no_sandbox.patch", "/tmp/chromedp_no_sandbox.patch"]
|
COPY ["conf/chromedp_no_sandbox.patch", "/tmp/chromedp_no_sandbox.patch"]
|
||||||
|
COPY ["conf/agent2_build.patch", "/tmp/agent2_build.patch"]
|
||||||
|
|
||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
ARCH_SUFFIX="$(arch)"; \
|
ARCH_SUFFIX="$(arch)"; \
|
||||||
@ -48,6 +49,7 @@ RUN set -eux && \
|
|||||||
git -c advice.detachedHead=false clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch /tmp/zabbix-${ZBX_VERSION} && \
|
git -c advice.detachedHead=false clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch /tmp/zabbix-${ZBX_VERSION} && \
|
||||||
cd /tmp/zabbix-${ZBX_VERSION} && \
|
cd /tmp/zabbix-${ZBX_VERSION} && \
|
||||||
patch -p1 < /tmp/chromedp_no_sandbox.patch && \
|
patch -p1 < /tmp/chromedp_no_sandbox.patch && \
|
||||||
|
patch -p1 < /tmp/agent2_build.patch && \
|
||||||
zabbix_revision=`git rev-parse --short HEAD` && \
|
zabbix_revision=`git rev-parse --short HEAD` && \
|
||||||
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \
|
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \
|
||||||
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" src/go/pkg/version/version.go && \
|
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" src/go/pkg/version/version.go && \
|
||||||
|
13
Dockerfiles/build-pgsql/alpine/conf/agent2_build.patch
Normal file
13
Dockerfiles/build-pgsql/alpine/conf/agent2_build.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/src/go/Makefile.am b/src/go/Makefile.am
|
||||||
|
index 2dd9e84e4ea..74bc3fbb91e 100644
|
||||||
|
--- a/src/go/Makefile.am
|
||||||
|
+++ b/src/go/Makefile.am
|
||||||
|
@@ -49,7 +49,7 @@ endif
|
||||||
|
all: build
|
||||||
|
|
||||||
|
zabbix.com/cmd/zabbix_agent2:
|
||||||
|
- CGO_CFLAGS="${CGO_CFLAGS}" CGO_LDFLAGS="${CGO_LDFLAGS}" go build -tags="${AGENT_GOTAGS}" -ldflags="${AGENT_GOLDFLAGS}" -o bin zabbix.com/cmd/zabbix_agent2
|
||||||
|
+ CGO_CFLAGS="${CGO_CFLAGS} -D_LARGEFILE64_SOURCE" CGO_LDFLAGS="${CGO_LDFLAGS}" go build -tags="${AGENT_GOTAGS}" -ldflags="${AGENT_GOLDFLAGS}" -o bin zabbix.com/cmd/zabbix_agent2
|
||||||
|
|
||||||
|
zabbix.com/cmd/zabbix_web_service:
|
||||||
|
go build -ldflags="${WEBSERVICE_GOLDFLAGS}" -o bin zabbix.com/cmd/zabbix_web_service
|
@ -22,6 +22,8 @@ LABEL org.opencontainers.image.authors="Alexey Pustovalov <alexey.pustovalov@zab
|
|||||||
ENV MONGODB_PLUGIN_SOURCES=https://git.zabbix.com/scm/ap/mongodb.git MONGODB_PLUGIN_VERSION=master \
|
ENV MONGODB_PLUGIN_SOURCES=https://git.zabbix.com/scm/ap/mongodb.git MONGODB_PLUGIN_VERSION=master \
|
||||||
POSTGRESQL_PLUGIN_SOURCES=https://git.zabbix.com/scm/ap/postgresql.git POSTGRESQL_PLUGIN_VERSION=master
|
POSTGRESQL_PLUGIN_SOURCES=https://git.zabbix.com/scm/ap/postgresql.git POSTGRESQL_PLUGIN_VERSION=master
|
||||||
|
|
||||||
|
COPY ["conf/agent2_build.patch", "/tmp/agent2_build.patch"]
|
||||||
|
|
||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
ARCH_SUFFIX="$(arch)"; \
|
ARCH_SUFFIX="$(arch)"; \
|
||||||
case "$ARCH_SUFFIX" in \
|
case "$ARCH_SUFFIX" in \
|
||||||
@ -45,6 +47,7 @@ RUN set -eux && \
|
|||||||
cd /tmp/ && \
|
cd /tmp/ && \
|
||||||
git -c advice.detachedHead=false clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch /tmp/zabbix-${ZBX_VERSION} && \
|
git -c advice.detachedHead=false clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch /tmp/zabbix-${ZBX_VERSION} && \
|
||||||
cd /tmp/zabbix-${ZBX_VERSION} && \
|
cd /tmp/zabbix-${ZBX_VERSION} && \
|
||||||
|
patch -p1 < /tmp/agent2_build.patch && \
|
||||||
zabbix_revision=`git rev-parse --short HEAD` && \
|
zabbix_revision=`git rev-parse --short HEAD` && \
|
||||||
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \
|
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \
|
||||||
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" src/go/pkg/version/version.go && \
|
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" src/go/pkg/version/version.go && \
|
||||||
|
13
Dockerfiles/build-sqlite3/alpine/conf/agent2_build.patch
Normal file
13
Dockerfiles/build-sqlite3/alpine/conf/agent2_build.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/src/go/Makefile.am b/src/go/Makefile.am
|
||||||
|
index 2dd9e84e4ea..74bc3fbb91e 100644
|
||||||
|
--- a/src/go/Makefile.am
|
||||||
|
+++ b/src/go/Makefile.am
|
||||||
|
@@ -49,7 +49,7 @@ endif
|
||||||
|
all: build
|
||||||
|
|
||||||
|
zabbix.com/cmd/zabbix_agent2:
|
||||||
|
- CGO_CFLAGS="${CGO_CFLAGS}" CGO_LDFLAGS="${CGO_LDFLAGS}" go build -tags="${AGENT_GOTAGS}" -ldflags="${AGENT_GOLDFLAGS}" -o bin zabbix.com/cmd/zabbix_agent2
|
||||||
|
+ CGO_CFLAGS="${CGO_CFLAGS} -D_LARGEFILE64_SOURCE" CGO_LDFLAGS="${CGO_LDFLAGS}" go build -tags="${AGENT_GOTAGS}" -ldflags="${AGENT_GOLDFLAGS}" -o bin zabbix.com/cmd/zabbix_agent2
|
||||||
|
|
||||||
|
zabbix.com/cmd/zabbix_web_service:
|
||||||
|
go build -ldflags="${WEBSERVICE_GOLDFLAGS}" -o bin zabbix.com/cmd/zabbix_web_service
|
@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:alpine-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} as builder
|
FROM ${BUILD_BASE_IMAGE} as builder
|
||||||
|
|
||||||
FROM alpine:3.18
|
FROM alpine:3.19
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG ZBX_VERSION
|
ARG ZBX_VERSION
|
||||||
|
@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:alpine-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} as builder
|
FROM ${BUILD_BASE_IMAGE} as builder
|
||||||
|
|
||||||
FROM alpine:3.18
|
FROM alpine:3.19
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG ZBX_VERSION
|
ARG ZBX_VERSION
|
||||||
|
@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-sqlite3:alpine-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} as builder
|
FROM ${BUILD_BASE_IMAGE} as builder
|
||||||
|
|
||||||
FROM alpine:3.18
|
FROM alpine:3.19
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG ZBX_VERSION
|
ARG ZBX_VERSION
|
||||||
|
@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:alpine-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} as builder
|
FROM ${BUILD_BASE_IMAGE} as builder
|
||||||
|
|
||||||
FROM alpine:3.18
|
FROM alpine:3.19
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG ZBX_VERSION
|
ARG ZBX_VERSION
|
||||||
|
@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-pgsql:alpine-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} as builder
|
FROM ${BUILD_BASE_IMAGE} as builder
|
||||||
|
|
||||||
FROM alpine:3.18
|
FROM alpine:3.19
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG ZBX_VERSION
|
ARG ZBX_VERSION
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM alpine:3.18
|
FROM alpine:3.19
|
||||||
|
|
||||||
ARG MAJOR_VERSION=7.0
|
ARG MAJOR_VERSION=7.0
|
||||||
ARG ZBX_VERSION=${MAJOR_VERSION}
|
ARG ZBX_VERSION=${MAJOR_VERSION}
|
||||||
|
@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:alpine-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} as builder
|
FROM ${BUILD_BASE_IMAGE} as builder
|
||||||
|
|
||||||
FROM alpine:3.18
|
FROM alpine:3.19
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG ZBX_VERSION
|
ARG ZBX_VERSION
|
||||||
|
@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-pgsql:alpine-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} as builder
|
FROM ${BUILD_BASE_IMAGE} as builder
|
||||||
|
|
||||||
FROM alpine:3.18
|
FROM alpine:3.19
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG ZBX_VERSION
|
ARG ZBX_VERSION
|
||||||
|
@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:alpine-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} as builder
|
FROM ${BUILD_BASE_IMAGE} as builder
|
||||||
|
|
||||||
FROM alpine:3.18
|
FROM alpine:3.19
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG ZBX_VERSION
|
ARG ZBX_VERSION
|
||||||
|
@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-pgsql:alpine-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} as builder
|
FROM ${BUILD_BASE_IMAGE} as builder
|
||||||
|
|
||||||
FROM alpine:3.18
|
FROM alpine:3.19
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG ZBX_VERSION
|
ARG ZBX_VERSION
|
||||||
|
@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:alpine-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} as builder
|
FROM ${BUILD_BASE_IMAGE} as builder
|
||||||
|
|
||||||
FROM alpine:3.18
|
FROM alpine:3.19
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG ZBX_VERSION
|
ARG ZBX_VERSION
|
||||||
|
@ -454,6 +454,7 @@ services:
|
|||||||
# - root-ca.pem
|
# - root-ca.pem
|
||||||
stop_grace_period: 1m
|
stop_grace_period: 1m
|
||||||
networks:
|
networks:
|
||||||
|
zbx_net_frontend:
|
||||||
zbx_net_backend:
|
zbx_net_backend:
|
||||||
aliases:
|
aliases:
|
||||||
- mysql-server
|
- mysql-server
|
||||||
|
@ -3,14 +3,14 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./Dockerfiles/build-base/alpine
|
context: ./Dockerfiles/build-base/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.18
|
- alpine:3.19
|
||||||
image: zabbix-build-base:alpine-local
|
image: zabbix-build-base:alpine-local
|
||||||
|
|
||||||
zabbix-build-mysql:
|
zabbix-build-mysql:
|
||||||
build:
|
build:
|
||||||
context: ./Dockerfiles/build-mysql/alpine
|
context: ./Dockerfiles/build-mysql/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.18
|
- alpine:3.19
|
||||||
args:
|
args:
|
||||||
BUILD_BASE_IMAGE: zabbix-build-base:alpine-local
|
BUILD_BASE_IMAGE: zabbix-build-base:alpine-local
|
||||||
image: zabbix-build-mysql:alpine-local
|
image: zabbix-build-mysql:alpine-local
|
||||||
@ -21,7 +21,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./Dockerfiles/build-sqlite3/alpine
|
context: ./Dockerfiles/build-sqlite3/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.18
|
- alpine:3.19
|
||||||
args:
|
args:
|
||||||
BUILD_BASE_IMAGE: zabbix-build-base:alpine-local
|
BUILD_BASE_IMAGE: zabbix-build-base:alpine-local
|
||||||
image: zabbix-build-sqlite3:alpine-local
|
image: zabbix-build-sqlite3:alpine-local
|
||||||
@ -34,7 +34,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./Dockerfiles/server-mysql/alpine
|
context: ./Dockerfiles/server-mysql/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.18
|
- alpine:3.19
|
||||||
args:
|
args:
|
||||||
BUILD_BASE_IMAGE: zabbix-build-mysql:alpine-local
|
BUILD_BASE_IMAGE: zabbix-build-mysql:alpine-local
|
||||||
image: zabbix-server-mysql:alpine-local
|
image: zabbix-server-mysql:alpine-local
|
||||||
@ -108,7 +108,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./Dockerfiles/proxy-sqlite3/alpine
|
context: ./Dockerfiles/proxy-sqlite3/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.18
|
- alpine:3.19
|
||||||
args:
|
args:
|
||||||
BUILD_BASE_IMAGE: zabbix-build-sqlite3:alpine-local
|
BUILD_BASE_IMAGE: zabbix-build-sqlite3:alpine-local
|
||||||
image: zabbix-proxy-sqlite3:alpine-local
|
image: zabbix-proxy-sqlite3:alpine-local
|
||||||
@ -165,7 +165,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./Dockerfiles/proxy-mysql/alpine
|
context: ./Dockerfiles/proxy-mysql/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.18
|
- alpine:3.19
|
||||||
args:
|
args:
|
||||||
BUILD_BASE_IMAGE: zabbix-build-mysql:alpine-local
|
BUILD_BASE_IMAGE: zabbix-build-mysql:alpine-local
|
||||||
image: zabbix-proxy-mysql:alpine-local
|
image: zabbix-proxy-mysql:alpine-local
|
||||||
@ -233,7 +233,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./Dockerfiles/web-apache-mysql/alpine
|
context: ./Dockerfiles/web-apache-mysql/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.18
|
- alpine:3.19
|
||||||
args:
|
args:
|
||||||
BUILD_BASE_IMAGE: zabbix-build-mysql:alpine-local
|
BUILD_BASE_IMAGE: zabbix-build-mysql:alpine-local
|
||||||
image: zabbix-web-apache-mysql:alpine-local
|
image: zabbix-web-apache-mysql:alpine-local
|
||||||
@ -297,7 +297,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./Dockerfiles/web-nginx-mysql/alpine
|
context: ./Dockerfiles/web-nginx-mysql/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.18
|
- alpine:3.19
|
||||||
args:
|
args:
|
||||||
BUILD_BASE_IMAGE: zabbix-build-mysql:alpine-local
|
BUILD_BASE_IMAGE: zabbix-build-mysql:alpine-local
|
||||||
image: zabbix-web-nginx-mysql:alpine-local
|
image: zabbix-web-nginx-mysql:alpine-local
|
||||||
@ -359,7 +359,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./Dockerfiles/agent/alpine
|
context: ./Dockerfiles/agent/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.18
|
- alpine:3.19
|
||||||
args:
|
args:
|
||||||
BUILD_BASE_IMAGE: zabbix-build-mysql:alpine-local
|
BUILD_BASE_IMAGE: zabbix-build-mysql:alpine-local
|
||||||
image: zabbix-agent:alpine-local
|
image: zabbix-agent:alpine-local
|
||||||
@ -408,7 +408,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./Dockerfiles/java-gateway/alpine
|
context: ./Dockerfiles/java-gateway/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.18
|
- alpine:3.19
|
||||||
args:
|
args:
|
||||||
BUILD_BASE_IMAGE: zabbix-build-mysql:alpine-local
|
BUILD_BASE_IMAGE: zabbix-build-mysql:alpine-local
|
||||||
image: zabbix-java-gateway:alpine-local
|
image: zabbix-java-gateway:alpine-local
|
||||||
@ -445,7 +445,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./Dockerfiles/snmptraps/alpine
|
context: ./Dockerfiles/snmptraps/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.18
|
- alpine:3.19
|
||||||
image: zabbix-snmptraps:alpine-local
|
image: zabbix-snmptraps:alpine-local
|
||||||
# Override snmptrapd command arguments to receive SNMP traps by DNS
|
# Override snmptrapd command arguments to receive SNMP traps by DNS
|
||||||
# It must be done with ZBX_SNMP_TRAP_USE_DNS=true environment variable
|
# It must be done with ZBX_SNMP_TRAP_USE_DNS=true environment variable
|
||||||
@ -483,7 +483,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./Dockerfiles/web-service/alpine
|
context: ./Dockerfiles/web-service/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.18
|
- alpine:3.19
|
||||||
args:
|
args:
|
||||||
BUILD_BASE_IMAGE: zabbix-build-mysql:alpine-local
|
BUILD_BASE_IMAGE: zabbix-build-mysql:alpine-local
|
||||||
image: zabbix-web-service:alpine-local
|
image: zabbix-web-service:alpine-local
|
||||||
@ -538,6 +538,8 @@ services:
|
|||||||
# - dbsocket:/var/run/mysqld/
|
# - dbsocket:/var/run/mysqld/
|
||||||
env_file:
|
env_file:
|
||||||
- ./env_vars/.env_db_mysql
|
- ./env_vars/.env_db_mysql
|
||||||
|
ports:
|
||||||
|
- "3306:3306/tcp"
|
||||||
secrets:
|
secrets:
|
||||||
- MYSQL_USER
|
- MYSQL_USER
|
||||||
- MYSQL_PASSWORD
|
- MYSQL_PASSWORD
|
||||||
@ -547,6 +549,7 @@ services:
|
|||||||
# - root-ca.pem
|
# - root-ca.pem
|
||||||
stop_grace_period: 1m
|
stop_grace_period: 1m
|
||||||
networks:
|
networks:
|
||||||
|
zbx_net_frontend:
|
||||||
zbx_net_backend:
|
zbx_net_backend:
|
||||||
aliases:
|
aliases:
|
||||||
- mysql-server
|
- mysql-server
|
||||||
|
@ -4,14 +4,14 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./Dockerfiles/build-base/alpine
|
context: ./Dockerfiles/build-base/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.18
|
- alpine:3.19
|
||||||
image: zabbix-build-base:alpine-local
|
image: zabbix-build-base:alpine-local
|
||||||
|
|
||||||
zabbix-build-pgsql:
|
zabbix-build-pgsql:
|
||||||
build:
|
build:
|
||||||
context: ./Dockerfiles/build-pgsql/alpine
|
context: ./Dockerfiles/build-pgsql/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.18
|
- alpine:3.19
|
||||||
args:
|
args:
|
||||||
BUILD_BASE_IMAGE: zabbix-build-base:alpine-local
|
BUILD_BASE_IMAGE: zabbix-build-base:alpine-local
|
||||||
image: zabbix-build-pgsql:alpine-local
|
image: zabbix-build-pgsql:alpine-local
|
||||||
@ -22,7 +22,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./Dockerfiles/build-mysql/alpine
|
context: ./Dockerfiles/build-mysql/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.18
|
- alpine:3.19
|
||||||
args:
|
args:
|
||||||
BUILD_BASE_IMAGE: zabbix-build-base:alpine-local
|
BUILD_BASE_IMAGE: zabbix-build-base:alpine-local
|
||||||
image: zabbix-build-mysql:alpine-local
|
image: zabbix-build-mysql:alpine-local
|
||||||
@ -35,7 +35,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./Dockerfiles/build-sqlite3/alpine
|
context: ./Dockerfiles/build-sqlite3/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.18
|
- alpine:3.19
|
||||||
args:
|
args:
|
||||||
BUILD_BASE_IMAGE: zabbix-build-base:alpine-local
|
BUILD_BASE_IMAGE: zabbix-build-base:alpine-local
|
||||||
image: zabbix-build-sqlite3:alpine-local
|
image: zabbix-build-sqlite3:alpine-local
|
||||||
@ -48,7 +48,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./Dockerfiles/server-pgsql/alpine
|
context: ./Dockerfiles/server-pgsql/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.18
|
- alpine:3.19
|
||||||
args:
|
args:
|
||||||
BUILD_BASE_IMAGE: zabbix-build-pgsql:alpine-local
|
BUILD_BASE_IMAGE: zabbix-build-pgsql:alpine-local
|
||||||
image: zabbix-server-pgsql:alpine-local
|
image: zabbix-server-pgsql:alpine-local
|
||||||
@ -119,7 +119,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./Dockerfiles/proxy-sqlite3/alpine
|
context: ./Dockerfiles/proxy-sqlite3/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.18
|
- alpine:3.19
|
||||||
args:
|
args:
|
||||||
BUILD_BASE_IMAGE: zabbix-build-sqlite3:alpine-local
|
BUILD_BASE_IMAGE: zabbix-build-sqlite3:alpine-local
|
||||||
image: zabbix-proxy-sqlite3:alpine-local
|
image: zabbix-proxy-sqlite3:alpine-local
|
||||||
@ -176,7 +176,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./Dockerfiles/proxy-mysql/alpine
|
context: ./Dockerfiles/proxy-mysql/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.18
|
- alpine:3.19
|
||||||
args:
|
args:
|
||||||
BUILD_BASE_IMAGE: zabbix-build-mysql:alpine-local
|
BUILD_BASE_IMAGE: zabbix-build-mysql:alpine-local
|
||||||
image: zabbix-proxy-mysql:alpine-local
|
image: zabbix-proxy-mysql:alpine-local
|
||||||
@ -240,7 +240,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./Dockerfiles/web-apache-pgsql/alpine
|
context: ./Dockerfiles/web-apache-pgsql/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.18
|
- alpine:3.19
|
||||||
args:
|
args:
|
||||||
BUILD_BASE_IMAGE: zabbix-build-pgsql:alpine-local
|
BUILD_BASE_IMAGE: zabbix-build-pgsql:alpine-local
|
||||||
image: zabbix-web-apache-pgsql:alpine-local
|
image: zabbix-web-apache-pgsql:alpine-local
|
||||||
@ -303,7 +303,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./Dockerfiles/web-nginx-pgsql/alpine
|
context: ./Dockerfiles/web-nginx-pgsql/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.18
|
- alpine:3.19
|
||||||
args:
|
args:
|
||||||
BUILD_BASE_IMAGE: zabbix-build-pgsql:alpine-local
|
BUILD_BASE_IMAGE: zabbix-build-pgsql:alpine-local
|
||||||
image: zabbix-web-nginx-pgsql:alpine-local
|
image: zabbix-web-nginx-pgsql:alpine-local
|
||||||
@ -364,7 +364,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./Dockerfiles/agent/alpine
|
context: ./Dockerfiles/agent/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.18
|
- alpine:3.19
|
||||||
args:
|
args:
|
||||||
BUILD_BASE_IMAGE: zabbix-build-pgsql:alpine-local
|
BUILD_BASE_IMAGE: zabbix-build-pgsql:alpine-local
|
||||||
image: zabbix-agent:alpine-local
|
image: zabbix-agent:alpine-local
|
||||||
@ -413,7 +413,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./Dockerfiles/java-gateway/alpine
|
context: ./Dockerfiles/java-gateway/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.18
|
- alpine:3.19
|
||||||
args:
|
args:
|
||||||
BUILD_BASE_IMAGE: zabbix-build-pgsql:alpine-local
|
BUILD_BASE_IMAGE: zabbix-build-pgsql:alpine-local
|
||||||
image: zabbix-java-gateway:alpine-local
|
image: zabbix-java-gateway:alpine-local
|
||||||
@ -450,7 +450,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./Dockerfiles/snmptraps/alpine
|
context: ./Dockerfiles/snmptraps/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.18
|
- alpine:3.19
|
||||||
image: zabbix-snmptraps:alpine-local
|
image: zabbix-snmptraps:alpine-local
|
||||||
# Override snmptrapd command arguments to receive SNMP traps by DNS
|
# Override snmptrapd command arguments to receive SNMP traps by DNS
|
||||||
# It must be done with ZBX_SNMP_TRAP_USE_DNS=true environment variable
|
# It must be done with ZBX_SNMP_TRAP_USE_DNS=true environment variable
|
||||||
@ -488,7 +488,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./Dockerfiles/web-service/alpine
|
context: ./Dockerfiles/web-service/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.18
|
- alpine:3.19
|
||||||
args:
|
args:
|
||||||
BUILD_BASE_IMAGE: zabbix-build-pgsql:alpine-local
|
BUILD_BASE_IMAGE: zabbix-build-pgsql:alpine-local
|
||||||
image: zabbix-web-service:alpine-local
|
image: zabbix-web-service:alpine-local
|
||||||
|
Loading…
Reference in New Issue
Block a user