Fixed circular reference error

This commit is contained in:
Alexey Pustovalov 2024-02-06 17:16:51 +09:00
parent ca7a5f7194
commit a84ea2a77c
17 changed files with 151 additions and 151 deletions

View File

@ -1,6 +1,6 @@
version: '3.8' version: '3.8'
services: services:
zabbix-server: server:
init: true init: true
ports: ports:
- "${ZABBIX_SERVER_PORT}:10051" - "${ZABBIX_SERVER_PORT}:10051"
@ -55,9 +55,9 @@ services:
com.zabbix.company: "Zabbix LLC" com.zabbix.company: "Zabbix LLC"
com.zabbix.component: "zabbix-server" com.zabbix.component: "zabbix-server"
zabbix-server-mysql: server-mysql:
extends: extends:
service: zabbix-server service: server
# volumes: # volumes:
# - dbsocket:/var/run/mysqld/ # - dbsocket:/var/run/mysqld/
env_file: env_file:
@ -76,9 +76,9 @@ services:
com.zabbix.description: "Zabbix server with MySQL database support" com.zabbix.description: "Zabbix server with MySQL database support"
com.zabbix.dbtype: "mysql" com.zabbix.dbtype: "mysql"
zabbix-server-pgsql: server-pgsql:
extends: extends:
service: zabbix-server service: server
# volumes: # volumes:
# - ${ENV_VARS_DIRECTORY}/.ZBX_DB_CA_FILE:/run/secrets/root-ca.pem:ro # - ${ENV_VARS_DIRECTORY}/.ZBX_DB_CA_FILE:/run/secrets/root-ca.pem:ro
# - ${ENV_VARS_DIRECTORY}/.ZBX_DB_CERT_FILE:/run/secrets/client-cert.pem:ro # - ${ENV_VARS_DIRECTORY}/.ZBX_DB_CERT_FILE:/run/secrets/client-cert.pem:ro
@ -96,7 +96,7 @@ services:
com.zabbix.description: "Zabbix server with PostgreSQL database support" com.zabbix.description: "Zabbix server with PostgreSQL database support"
com.zabbix.dbtype: "pgsql" com.zabbix.dbtype: "pgsql"
zabbix-proxy: proxy:
init: true init: true
profiles: profiles:
- all - all
@ -141,9 +141,9 @@ services:
com.zabbix.company: "Zabbix LLC" com.zabbix.company: "Zabbix LLC"
com.zabbix.component: "zabbix-proxy" com.zabbix.component: "zabbix-proxy"
zabbix-proxy-sqlite3: proxy-sqlite3:
extends: extends:
service: zabbix-proxy service: proxy
ports: ports:
- "${ZABBIX_PROXY_SQLITE3_PORT}:10051" - "${ZABBIX_PROXY_SQLITE3_PORT}:10051"
env_file: env_file:
@ -156,9 +156,9 @@ services:
com.zabbix.description: "Zabbix proxy with SQLite3 database support" com.zabbix.description: "Zabbix proxy with SQLite3 database support"
com.zabbix.dbtype: "sqlite3" com.zabbix.dbtype: "sqlite3"
zabbix-proxy-mysql: proxy-mysql:
extends: extends:
service: zabbix-proxy service: proxy
ports: ports:
- "${ZABBIX_PROXY_MYSQL_PORT}:10051" - "${ZABBIX_PROXY_MYSQL_PORT}:10051"
# volumes: # volumes:
@ -183,7 +183,7 @@ services:
com.zabbix.description: "Zabbix proxy with MySQL database support" com.zabbix.description: "Zabbix proxy with MySQL database support"
com.zabbix.dbtype: "mysql" com.zabbix.dbtype: "mysql"
zabbix-web-apache: web-apache:
profiles: profiles:
- all - all
ports: ports:
@ -223,9 +223,9 @@ services:
com.zabbix.component: "zabbix-frontend" com.zabbix.component: "zabbix-frontend"
com.zabbix.webserver: "apache2" com.zabbix.webserver: "apache2"
zabbix-web-apache-mysql: web-apache-mysql:
extends: extends:
service: zabbix-web-apache service: web-apache
# volumes: # volumes:
# - dbsocket:/var/run/mysqld/ # - dbsocket:/var/run/mysqld/
env_file: env_file:
@ -242,7 +242,7 @@ services:
zabbix-web-apache-pgsql: zabbix-web-apache-pgsql:
extends: extends:
service: zabbix-web-apache service: web-apache
# volumes: # volumes:
# - ${ENV_VARS_DIRECTORY}/.ZBX_DB_CA_FILE:/run/secrets/root-ca.pem:ro # - ${ENV_VARS_DIRECTORY}/.ZBX_DB_CA_FILE:/run/secrets/root-ca.pem:ro
# - ${ENV_VARS_DIRECTORY}/.ZBX_DB_CERT_FILE:/run/secrets/client-cert.pem:ro # - ${ENV_VARS_DIRECTORY}/.ZBX_DB_CERT_FILE:/run/secrets/client-cert.pem:ro
@ -260,7 +260,7 @@ services:
com.zabbix.description: "Zabbix frontend on Apache web-server with PostgreSQL database support" com.zabbix.description: "Zabbix frontend on Apache web-server with PostgreSQL database support"
com.zabbix.dbtype: "pgsql" com.zabbix.dbtype: "pgsql"
zabbix-web-nginx: web-nginx:
ports: ports:
- "${ZABBIX_WEB_NGINX_HTTP_PORT}:8080" - "${ZABBIX_WEB_NGINX_HTTP_PORT}:8080"
- "${ZABBIX_WEB_NGINX_HTTPS_PORT}:8443" - "${ZABBIX_WEB_NGINX_HTTPS_PORT}:8443"
@ -298,9 +298,9 @@ services:
com.zabbix.component: "zabbix-frontend" com.zabbix.component: "zabbix-frontend"
com.zabbix.webserver: "nginx" com.zabbix.webserver: "nginx"
zabbix-web-nginx-mysql: web-nginx-mysql:
extends: extends:
service: zabbix-web-nginx service: web-nginx
# volumes: # volumes:
# - dbsocket:/var/run/mysqld/ # - dbsocket:/var/run/mysqld/
env_file: env_file:
@ -319,9 +319,9 @@ services:
com.zabbix.description: "Zabbix frontend on Nginx web-server with MySQL database support" com.zabbix.description: "Zabbix frontend on Nginx web-server with MySQL database support"
com.zabbix.dbtype: "mysql" com.zabbix.dbtype: "mysql"
zabbix-web-nginx-pgsql: web-nginx-pgsql:
extends: extends:
service: zabbix-web-nginx service: web-nginx
# volumes: # volumes:
# - ${ENV_VARS_DIRECTORY}/.ZBX_DB_CA_FILE:/run/secrets/root-ca.pem:ro # - ${ENV_VARS_DIRECTORY}/.ZBX_DB_CA_FILE:/run/secrets/root-ca.pem:ro
# - ${ENV_VARS_DIRECTORY}/.ZBX_DB_CERT_FILE:/run/secrets/client-cert.pem:ro # - ${ENV_VARS_DIRECTORY}/.ZBX_DB_CERT_FILE:/run/secrets/client-cert.pem:ro
@ -339,7 +339,7 @@ services:
com.zabbix.description: "Zabbix frontend on Nginx web-server with PostgreSQL database support" com.zabbix.description: "Zabbix frontend on Nginx web-server with PostgreSQL database support"
com.zabbix.dbtype: "pgsql" com.zabbix.dbtype: "pgsql"
zabbix-agent: agent:
init: true init: true
profiles: profiles:
- full - full
@ -378,7 +378,7 @@ services:
com.zabbix.company: "Zabbix LLC" com.zabbix.company: "Zabbix LLC"
com.zabbix.component: "zabbix-agentd" com.zabbix.component: "zabbix-agentd"
zabbix-agent2: agent2:
init: true init: true
profiles: profiles:
- full - full
@ -417,7 +417,7 @@ services:
com.zabbix.company: "Zabbix LLC" com.zabbix.company: "Zabbix LLC"
com.zabbix.component: "zabbix-agent2" com.zabbix.component: "zabbix-agent2"
zabbix-java-gateway: java-gateway:
profiles: profiles:
- full - full
- all - all
@ -444,7 +444,7 @@ services:
com.zabbix.company: "Zabbix LLC" com.zabbix.company: "Zabbix LLC"
com.zabbix.component: "java-gateway" com.zabbix.component: "java-gateway"
zabbix-snmptraps: snmptraps:
# 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
# command: /usr/sbin/snmptrapd -C -c /etc/snmp/snmptrapd.conf -Lo -A # command: /usr/sbin/snmptrapd -C -c /etc/snmp/snmptrapd.conf -Lo -A

View File

@ -3,7 +3,7 @@ services:
zabbix-server: zabbix-server:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-server-mysql service: server-mysql
image: "${ZABBIX_SERVER_MYSQL_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_SERVER_MYSQL_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -15,7 +15,7 @@ services:
zabbix-proxy-sqlite3: zabbix-proxy-sqlite3:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-sqlite3 service: proxy-sqlite3
image: "${ZABBIX_PROXY_SQLITE3_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_PROXY_SQLITE3_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -25,7 +25,7 @@ services:
zabbix-proxy-mysql: zabbix-proxy-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-mysql service: proxy-mysql
image: "${ZABBIX_PROXY_MYSQL_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_PROXY_MYSQL_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -37,7 +37,7 @@ services:
zabbix-web-apache-mysql: zabbix-web-apache-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-apache-mysql service: web-apache-mysql
image: "${ZABBIX_WEB_APACHE_MYSQL_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_WEB_APACHE_MYSQL_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -49,7 +49,7 @@ services:
zabbix-web-nginx-mysql: zabbix-web-nginx-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-nginx-mysql service: web-nginx-mysql
image: "${ZABBIX_WEB_NGINX_MYSQL_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_WEB_NGINX_MYSQL_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -61,7 +61,7 @@ services:
zabbix-agent: zabbix-agent:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-agent service: agent
image: "${ZABBIX_AGENT_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_AGENT_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -71,7 +71,7 @@ services:
zabbix-java-gateway: zabbix-java-gateway:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-java-gateway service: java-gateway
image: "${ZABBIX_JAVA_GATEWAY_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_JAVA_GATEWAY_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
labels: labels:
com.zabbix.os: "${ALPINE_OS_TAG}" com.zabbix.os: "${ALPINE_OS_TAG}"
@ -79,7 +79,7 @@ services:
zabbix-snmptraps: zabbix-snmptraps:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-snmptraps service: snmptraps
image: "${ZABBIX_SNMPTRAPS_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_SNMPTRAPS_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
labels: labels:
com.zabbix.os: "${ALPINE_OS_TAG}" com.zabbix.os: "${ALPINE_OS_TAG}"

View File

@ -34,7 +34,7 @@ services:
zabbix-server: zabbix-server:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-server-mysql service: server-mysql
build: build:
context: ./Dockerfiles/server-mysql/${ALPINE_OS_TAG_SHORT} context: ./Dockerfiles/server-mysql/${ALPINE_OS_TAG_SHORT}
cache_from: cache_from:
@ -53,7 +53,7 @@ services:
zabbix-proxy-sqlite3: zabbix-proxy-sqlite3:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-sqlite3 service: proxy-sqlite3
build: build:
context: ./Dockerfiles/proxy-sqlite3/${ALPINE_OS_TAG_SHORT} context: ./Dockerfiles/proxy-sqlite3/${ALPINE_OS_TAG_SHORT}
cache_from: cache_from:
@ -71,7 +71,7 @@ services:
zabbix-proxy-mysql: zabbix-proxy-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-mysql service: proxy-mysql
build: build:
context: ./Dockerfiles/proxy-mysql/${ALPINE_OS_TAG_SHORT} context: ./Dockerfiles/proxy-mysql/${ALPINE_OS_TAG_SHORT}
cache_from: cache_from:
@ -90,7 +90,7 @@ services:
zabbix-web-apache-mysql: zabbix-web-apache-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-apache-mysql service: web-apache-mysql
build: build:
context: ./Dockerfiles/web-apache-mysql/${ALPINE_OS_TAG_SHORT} context: ./Dockerfiles/web-apache-mysql/${ALPINE_OS_TAG_SHORT}
cache_from: cache_from:
@ -109,7 +109,7 @@ services:
zabbix-web-nginx-mysql: zabbix-web-nginx-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-nginx-mysql service: web-nginx-mysql
build: build:
context: ./Dockerfiles/web-nginx-mysql/${ALPINE_OS_TAG_SHORT} context: ./Dockerfiles/web-nginx-mysql/${ALPINE_OS_TAG_SHORT}
cache_from: cache_from:
@ -128,7 +128,7 @@ services:
zabbix-agent: zabbix-agent:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-agent service: agent
build: build:
context: ./Dockerfiles/agent/${ALPINE_OS_TAG_SHORT} context: ./Dockerfiles/agent/${ALPINE_OS_TAG_SHORT}
cache_from: cache_from:
@ -146,7 +146,7 @@ services:
zabbix-java-gateway: zabbix-java-gateway:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-java-gateway service: java-gateway
build: build:
context: ./Dockerfiles/java-gateway/${ALPINE_OS_TAG_SHORT} context: ./Dockerfiles/java-gateway/${ALPINE_OS_TAG_SHORT}
cache_from: cache_from:
@ -162,7 +162,7 @@ services:
zabbix-snmptraps: zabbix-snmptraps:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-snmptraps service: snmptraps
build: build:
context: ./Dockerfiles/snmptraps/${ALPINE_OS_TAG_SHORT} context: ./Dockerfiles/snmptraps/${ALPINE_OS_TAG_SHORT}
cache_from: cache_from:

View File

@ -3,7 +3,7 @@ services:
zabbix-server: zabbix-server:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-server-pgsql service: server-pgsql
image: "${ZABBIX_SERVER_PGSQL_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_SERVER_PGSQL_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -15,7 +15,7 @@ services:
zabbix-proxy-sqlite3: zabbix-proxy-sqlite3:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-sqlite3 service: proxy-sqlite3
image: "${ZABBIX_PROXY_SQLITE3_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_PROXY_SQLITE3_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -25,7 +25,7 @@ services:
zabbix-proxy-mysql: zabbix-proxy-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-mysql service: proxy-mysql
image: "${ZABBIX_PROXY_MYSQL_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_PROXY_MYSQL_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -37,7 +37,7 @@ services:
zabbix-web-apache-pgsql: zabbix-web-apache-pgsql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-apache-pgsql service: web-apache-pgsql
image: "${ZABBIX_WEB_APACHE_PGSQL_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_WEB_APACHE_PGSQL_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -49,7 +49,7 @@ services:
zabbix-web-nginx-pgsql: zabbix-web-nginx-pgsql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-nginx-pgsql service: web-nginx-pgsql
image: "${ZABBIX_WEB_NGINX_PGSQL_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_WEB_NGINX_PGSQL_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -61,7 +61,7 @@ services:
zabbix-agent: zabbix-agent:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-agent service: agent
image: "${ZABBIX_AGENT_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_AGENT_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -71,7 +71,7 @@ services:
zabbix-java-gateway: zabbix-java-gateway:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-java-gateway service: java-gateway
image: "${ZABBIX_JAVA_GATEWAY_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_JAVA_GATEWAY_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
labels: labels:
com.zabbix.os: "${ALPINE_OS_TAG}" com.zabbix.os: "${ALPINE_OS_TAG}"
@ -79,7 +79,7 @@ services:
zabbix-snmptraps: zabbix-snmptraps:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-snmptraps service: snmptraps
image: "${ZABBIX_SNMPTRAPS_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_SNMPTRAPS_IMAGE}:${ZABBIX_ALPINE_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
labels: labels:
com.zabbix.os: "${ALPINE_OS_TAG}" com.zabbix.os: "${ALPINE_OS_TAG}"

View File

@ -47,7 +47,7 @@ services:
zabbix-server: zabbix-server:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-server-pgsql service: server-pgsql
build: build:
context: ./Dockerfiles/server-pgsql/${ALPINE_OS_TAG_SHORT} context: ./Dockerfiles/server-pgsql/${ALPINE_OS_TAG_SHORT}
cache_from: cache_from:
@ -66,7 +66,7 @@ services:
zabbix-proxy-sqlite3: zabbix-proxy-sqlite3:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-sqlite3 service: proxy-sqlite3
build: build:
context: ./Dockerfiles/proxy-sqlite3/${ALPINE_OS_TAG_SHORT} context: ./Dockerfiles/proxy-sqlite3/${ALPINE_OS_TAG_SHORT}
cache_from: cache_from:
@ -84,7 +84,7 @@ services:
zabbix-proxy-mysql: zabbix-proxy-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-mysql service: proxy-mysql
build: build:
context: ./Dockerfiles/proxy-mysql/${ALPINE_OS_TAG_SHORT} context: ./Dockerfiles/proxy-mysql/${ALPINE_OS_TAG_SHORT}
cache_from: cache_from:
@ -103,7 +103,7 @@ services:
zabbix-web-apache-pgsql: zabbix-web-apache-pgsql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-apache-pgsql service: web-apache-pgsql
build: build:
context: ./Dockerfiles/web-apache-pgsql/${ALPINE_OS_TAG_SHORT} context: ./Dockerfiles/web-apache-pgsql/${ALPINE_OS_TAG_SHORT}
cache_from: cache_from:
@ -122,7 +122,7 @@ services:
zabbix-web-nginx-pgsql: zabbix-web-nginx-pgsql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-nginx-pgsql service: web-nginx-pgsql
build: build:
context: ./Dockerfiles/web-nginx-pgsql/${ALPINE_OS_TAG_SHORT} context: ./Dockerfiles/web-nginx-pgsql/${ALPINE_OS_TAG_SHORT}
cache_from: cache_from:
@ -141,7 +141,7 @@ services:
zabbix-agent: zabbix-agent:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-agent service: agent
build: build:
context: ./Dockerfiles/agent/${ALPINE_OS_TAG_SHORT} context: ./Dockerfiles/agent/${ALPINE_OS_TAG_SHORT}
cache_from: cache_from:
@ -159,7 +159,7 @@ services:
zabbix-java-gateway: zabbix-java-gateway:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-java-gateway service: java-gateway
build: build:
context: ./Dockerfiles/java-gateway/${ALPINE_OS_TAG_SHORT} context: ./Dockerfiles/java-gateway/${ALPINE_OS_TAG_SHORT}
cache_from: cache_from:
@ -175,7 +175,7 @@ services:
zabbix-snmptraps: zabbix-snmptraps:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-snmptraps service: snmptraps
build: build:
context: ./Dockerfiles/snmptraps/${ALPINE_OS_TAG_SHORT} context: ./Dockerfiles/snmptraps/${ALPINE_OS_TAG_SHORT}
cache_from: cache_from:

View File

@ -3,7 +3,7 @@ services:
zabbix-server: zabbix-server:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-server-mysql service: server-mysql
image: "${ZABBIX_SERVER_MYSQL_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_SERVER_MYSQL_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -15,7 +15,7 @@ services:
zabbix-proxy-sqlite3: zabbix-proxy-sqlite3:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-sqlite3 service: proxy-sqlite3
image: "${ZABBIX_PROXY_SQLITE3_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_PROXY_SQLITE3_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -25,7 +25,7 @@ services:
zabbix-proxy-mysql: zabbix-proxy-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-mysql service: proxy-mysql
image: "${ZABBIX_PROXY_MYSQL_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_PROXY_MYSQL_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -37,7 +37,7 @@ services:
zabbix-web-apache-mysql: zabbix-web-apache-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-apache-mysql service: web-apache-mysql
image: "${ZABBIX_WEB_APACHE_MYSQL_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_WEB_APACHE_MYSQL_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -49,7 +49,7 @@ services:
zabbix-web-nginx-mysql: zabbix-web-nginx-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-nginx-mysql service: web-nginx-mysql
image: "${ZABBIX_WEB_NGINX_MYSQL_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_WEB_NGINX_MYSQL_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -61,7 +61,7 @@ services:
zabbix-agent: zabbix-agent:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-agent service: agent
image: "${ZABBIX_AGENT_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_AGENT_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -71,7 +71,7 @@ services:
zabbix-java-gateway: zabbix-java-gateway:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-java-gateway service: java-gateway
image: "${ZABBIX_JAVA_GATEWAY_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_JAVA_GATEWAY_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
labels: labels:
com.zabbix.os: "${CENTOS_OS_TAG}" com.zabbix.os: "${CENTOS_OS_TAG}"
@ -79,7 +79,7 @@ services:
zabbix-snmptraps: zabbix-snmptraps:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-snmptraps service: snmptraps
image: "${ZABBIX_SNMPTRAPS_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_SNMPTRAPS_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
labels: labels:
com.zabbix.os: "${CENTOS_OS_TAG}" com.zabbix.os: "${CENTOS_OS_TAG}"

View File

@ -34,7 +34,7 @@ services:
zabbix-server: zabbix-server:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-server-mysql service: server-mysql
build: build:
context: ./Dockerfiles/server-mysql/${CENTOS_OS_TAG_SHORT} context: ./Dockerfiles/server-mysql/${CENTOS_OS_TAG_SHORT}
cache_from: cache_from:
@ -54,7 +54,7 @@ services:
zabbix-proxy-sqlite3: zabbix-proxy-sqlite3:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-sqlite3 service: proxy-sqlite3
build: build:
context: ./Dockerfiles/proxy-sqlite3/${CENTOS_OS_TAG_SHORT} context: ./Dockerfiles/proxy-sqlite3/${CENTOS_OS_TAG_SHORT}
cache_from: cache_from:
@ -72,7 +72,7 @@ services:
zabbix-proxy-mysql: zabbix-proxy-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-mysql service: proxy-mysql
build: build:
context: ./Dockerfiles/proxy-mysql/${CENTOS_OS_TAG_SHORT} context: ./Dockerfiles/proxy-mysql/${CENTOS_OS_TAG_SHORT}
cache_from: cache_from:
@ -91,7 +91,7 @@ services:
zabbix-web-apache-mysql: zabbix-web-apache-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-apache-mysql service: web-apache-mysql
build: build:
context: ./Dockerfiles/web-apache-mysql/${CENTOS_OS_TAG_SHORT} context: ./Dockerfiles/web-apache-mysql/${CENTOS_OS_TAG_SHORT}
cache_from: cache_from:
@ -110,7 +110,7 @@ services:
zabbix-web-nginx-mysql: zabbix-web-nginx-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-nginx-mysql service: web-nginx-mysql
build: build:
context: ./Dockerfiles/web-nginx-mysql/${CENTOS_OS_TAG_SHORT} context: ./Dockerfiles/web-nginx-mysql/${CENTOS_OS_TAG_SHORT}
cache_from: cache_from:
@ -129,7 +129,7 @@ services:
zabbix-agent: zabbix-agent:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-agent service: agent
build: build:
context: ./Dockerfiles/agent/${CENTOS_OS_TAG_SHORT} context: ./Dockerfiles/agent/${CENTOS_OS_TAG_SHORT}
cache_from: cache_from:
@ -147,7 +147,7 @@ services:
zabbix-java-gateway: zabbix-java-gateway:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-java-gateway service: java-gateway
build: build:
context: ./Dockerfiles/java-gateway/${CENTOS_OS_TAG_SHORT} context: ./Dockerfiles/java-gateway/${CENTOS_OS_TAG_SHORT}
cache_from: cache_from:
@ -163,7 +163,7 @@ services:
zabbix-snmptraps: zabbix-snmptraps:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-snmptraps service: snmptraps
build: build:
context: ./Dockerfiles/snmptraps/${CENTOS_OS_TAG_SHORT} context: ./Dockerfiles/snmptraps/${CENTOS_OS_TAG_SHORT}
cache_from: cache_from:

View File

@ -3,7 +3,7 @@ services:
zabbix-server: zabbix-server:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-server-pgsql service: server-pgsql
image: "${ZABBIX_SERVER_PGSQL_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_SERVER_PGSQL_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -15,7 +15,7 @@ services:
zabbix-proxy-sqlite3: zabbix-proxy-sqlite3:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-sqlite3 service: proxy-sqlite3
image: "${ZABBIX_PROXY_SQLITE3_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_PROXY_SQLITE3_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -25,7 +25,7 @@ services:
zabbix-proxy-mysql: zabbix-proxy-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-mysql service: proxy-mysql
image: "${ZABBIX_PROXY_MYSQL_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_PROXY_MYSQL_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -37,7 +37,7 @@ services:
zabbix-web-apache-pgsql: zabbix-web-apache-pgsql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-apache-pgsql service: web-apache-pgsql
image: "${ZABBIX_WEB_APACHE_PGSQL_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_WEB_APACHE_PGSQL_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -49,7 +49,7 @@ services:
zabbix-web-nginx-pgsql: zabbix-web-nginx-pgsql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-nginx-pgsql service: web-nginx-pgsql
image: "${ZABBIX_WEB_NGINX_PGSQL_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_WEB_NGINX_PGSQL_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -61,7 +61,7 @@ services:
zabbix-agent: zabbix-agent:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-agent service: agent
image: "${ZABBIX_AGENT_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_AGENT_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -71,7 +71,7 @@ services:
zabbix-java-gateway: zabbix-java-gateway:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-java-gateway service: java-gateway
image: "${ZABBIX_JAVA_GATEWAY_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_JAVA_GATEWAY_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
labels: labels:
com.zabbix.os: "${CENTOS_OS_TAG}" com.zabbix.os: "${CENTOS_OS_TAG}"
@ -79,7 +79,7 @@ services:
zabbix-snmptraps: zabbix-snmptraps:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-snmptraps service: snmptraps
image: "${ZABBIX_SNMPTRAPS_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_SNMPTRAPS_IMAGE}:${ZABBIX_CENTOS_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
labels: labels:
com.zabbix.os: "${CENTOS_OS_TAG}" com.zabbix.os: "${CENTOS_OS_TAG}"

View File

@ -47,7 +47,7 @@ services:
zabbix-server: zabbix-server:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-server-pgsql service: server-pgsql
build: build:
context: ./Dockerfiles/server-pgsql/${CENTOS_OS_TAG_SHORT} context: ./Dockerfiles/server-pgsql/${CENTOS_OS_TAG_SHORT}
cache_from: cache_from:
@ -66,7 +66,7 @@ services:
zabbix-proxy-sqlite3: zabbix-proxy-sqlite3:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-sqlite3 service: proxy-sqlite3
build: build:
context: ./Dockerfiles/proxy-sqlite3/${CENTOS_OS_TAG_SHORT} context: ./Dockerfiles/proxy-sqlite3/${CENTOS_OS_TAG_SHORT}
cache_from: cache_from:
@ -84,7 +84,7 @@ services:
zabbix-proxy-mysql: zabbix-proxy-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-mysql service: proxy-mysql
build: build:
context: ./Dockerfiles/proxy-mysql/${CENTOS_OS_TAG_SHORT} context: ./Dockerfiles/proxy-mysql/${CENTOS_OS_TAG_SHORT}
cache_from: cache_from:
@ -103,7 +103,7 @@ services:
zabbix-web-apache-pgsql: zabbix-web-apache-pgsql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-apache-pgsql service: web-apache-pgsql
build: build:
context: ./Dockerfiles/web-apache-pgsql/${CENTOS_OS_TAG_SHORT} context: ./Dockerfiles/web-apache-pgsql/${CENTOS_OS_TAG_SHORT}
cache_from: cache_from:
@ -122,7 +122,7 @@ services:
zabbix-web-nginx-pgsql: zabbix-web-nginx-pgsql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-nginx-pgsql service: web-nginx-pgsql
build: build:
context: ./Dockerfiles/web-nginx-pgsql/${CENTOS_OS_TAG_SHORT} context: ./Dockerfiles/web-nginx-pgsql/${CENTOS_OS_TAG_SHORT}
cache_from: cache_from:
@ -141,7 +141,7 @@ services:
zabbix-agent: zabbix-agent:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-agent service: agent
build: build:
context: ./Dockerfiles/agent/${CENTOS_OS_TAG_SHORT} context: ./Dockerfiles/agent/${CENTOS_OS_TAG_SHORT}
cache_from: cache_from:
@ -159,7 +159,7 @@ services:
zabbix-java-gateway: zabbix-java-gateway:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-java-gateway service: java-gateway
build: build:
context: ./Dockerfiles/java-gateway/${CENTOS_OS_TAG_SHORT} context: ./Dockerfiles/java-gateway/${CENTOS_OS_TAG_SHORT}
cache_from: cache_from:
@ -175,7 +175,7 @@ services:
zabbix-snmptraps: zabbix-snmptraps:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-snmptraps service: snmptraps
build: build:
context: ./Dockerfiles/snmptraps/${CENTOS_OS_TAG_SHORT} context: ./Dockerfiles/snmptraps/${CENTOS_OS_TAG_SHORT}
cache_from: cache_from:

View File

@ -3,7 +3,7 @@ services:
zabbix-server: zabbix-server:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-server-mysql service: server-mysql
image: "${ZABBIX_SERVER_MYSQL_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_SERVER_MYSQL_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -15,7 +15,7 @@ services:
zabbix-proxy-sqlite3: zabbix-proxy-sqlite3:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-sqlite3 service: proxy-sqlite3
image: "${ZABBIX_PROXY_SQLITE3_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_PROXY_SQLITE3_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -25,7 +25,7 @@ services:
zabbix-proxy-mysql: zabbix-proxy-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-mysql service: proxy-mysql
image: "${ZABBIX_PROXY_MYSQL_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_PROXY_MYSQL_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -37,7 +37,7 @@ services:
zabbix-web-apache-mysql: zabbix-web-apache-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-apache-mysql service: web-apache-mysql
image: "${ZABBIX_WEB_APACHE_MYSQL_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_WEB_APACHE_MYSQL_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -49,7 +49,7 @@ services:
zabbix-web-nginx-mysql: zabbix-web-nginx-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-nginx-mysql service: web-nginx-mysql
image: "${ZABBIX_WEB_NGINX_MYSQL_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_WEB_NGINX_MYSQL_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -61,7 +61,7 @@ services:
zabbix-agent: zabbix-agent:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-agent service: agent
image: "${ZABBIX_AGENT_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_AGENT_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -71,7 +71,7 @@ services:
zabbix-java-gateway: zabbix-java-gateway:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-java-gateway service: java-gateway
image: "${ZABBIX_JAVA_GATEWAY_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_JAVA_GATEWAY_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
labels: labels:
com.zabbix.os: "${OL_OS_TAG}" com.zabbix.os: "${OL_OS_TAG}"
@ -79,7 +79,7 @@ services:
zabbix-snmptraps: zabbix-snmptraps:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-snmptraps service: snmptraps
image: "${ZABBIX_SNMPTRAPS_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_SNMPTRAPS_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
labels: labels:
com.zabbix.os: "${OL_OS_TAG}" com.zabbix.os: "${OL_OS_TAG}"

View File

@ -34,7 +34,7 @@ services:
zabbix-server: zabbix-server:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-server-mysql service: server-mysql
build: build:
context: ./Dockerfiles/server-mysql/${OL_OS_TAG_SHORT} context: ./Dockerfiles/server-mysql/${OL_OS_TAG_SHORT}
cache_from: cache_from:
@ -54,7 +54,7 @@ services:
zabbix-proxy-sqlite3: zabbix-proxy-sqlite3:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-sqlite3 service: proxy-sqlite3
build: build:
context: ./Dockerfiles/proxy-sqlite3/${OL_OS_TAG_SHORT} context: ./Dockerfiles/proxy-sqlite3/${OL_OS_TAG_SHORT}
cache_from: cache_from:
@ -72,7 +72,7 @@ services:
zabbix-proxy-mysql: zabbix-proxy-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-mysql service: proxy-mysql
build: build:
context: ./Dockerfiles/proxy-mysql/${OL_OS_TAG_SHORT} context: ./Dockerfiles/proxy-mysql/${OL_OS_TAG_SHORT}
cache_from: cache_from:
@ -91,7 +91,7 @@ services:
zabbix-web-apache-mysql: zabbix-web-apache-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-apache-mysql service: web-apache-mysql
build: build:
context: ./Dockerfiles/web-apache-mysql/${OL_OS_TAG_SHORT} context: ./Dockerfiles/web-apache-mysql/${OL_OS_TAG_SHORT}
cache_from: cache_from:
@ -110,7 +110,7 @@ services:
zabbix-web-nginx-mysql: zabbix-web-nginx-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-nginx-mysql service: web-nginx-mysql
build: build:
context: ./Dockerfiles/web-nginx-mysql/${OL_OS_TAG_SHORT} context: ./Dockerfiles/web-nginx-mysql/${OL_OS_TAG_SHORT}
cache_from: cache_from:
@ -129,7 +129,7 @@ services:
zabbix-agent: zabbix-agent:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-agent service: agent
build: build:
context: ./Dockerfiles/agent/${OL_OS_TAG_SHORT} context: ./Dockerfiles/agent/${OL_OS_TAG_SHORT}
cache_from: cache_from:
@ -147,7 +147,7 @@ services:
zabbix-java-gateway: zabbix-java-gateway:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-java-gateway service: java-gateway
build: build:
context: ./Dockerfiles/java-gateway/${OL_OS_TAG_SHORT} context: ./Dockerfiles/java-gateway/${OL_OS_TAG_SHORT}
cache_from: cache_from:
@ -163,7 +163,7 @@ services:
zabbix-snmptraps: zabbix-snmptraps:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-snmptraps service: snmptraps
build: build:
context: ./Dockerfiles/snmptraps/${OL_OS_TAG_SHORT} context: ./Dockerfiles/snmptraps/${OL_OS_TAG_SHORT}
cache_from: cache_from:

View File

@ -3,7 +3,7 @@ services:
zabbix-server: zabbix-server:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-server-pgsql service: server-pgsql
image: "${ZABBIX_SERVER_PGSQL_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_SERVER_PGSQL_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -15,7 +15,7 @@ services:
zabbix-proxy-sqlite3: zabbix-proxy-sqlite3:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-sqlite3 service: proxy-sqlite3
image: "${ZABBIX_PROXY_SQLITE3_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_PROXY_SQLITE3_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -25,7 +25,7 @@ services:
zabbix-proxy-mysql: zabbix-proxy-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-mysql service: proxy-mysql
image: "${ZABBIX_PROXY_MYSQL_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_PROXY_MYSQL_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -37,7 +37,7 @@ services:
zabbix-web-apache-pgsql: zabbix-web-apache-pgsql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-apache-pgsql service: web-apache-pgsql
image: "${ZABBIX_WEB_APACHE_PGSQL_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_WEB_APACHE_PGSQL_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -49,7 +49,7 @@ services:
zabbix-web-nginx-pgsql: zabbix-web-nginx-pgsql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-nginx-pgsql service: web-nginx-pgsql
image: "${ZABBIX_WEB_NGINX_PGSQL_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_WEB_NGINX_PGSQL_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -61,7 +61,7 @@ services:
zabbix-agent: zabbix-agent:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-agent service: agent
image: "${ZABBIX_AGENT_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_AGENT_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -71,7 +71,7 @@ services:
zabbix-java-gateway: zabbix-java-gateway:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-java-gateway service: java-gateway
image: "${ZABBIX_JAVA_GATEWAY_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_JAVA_GATEWAY_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
labels: labels:
com.zabbix.os: "${OL_OS_TAG}" com.zabbix.os: "${OL_OS_TAG}"
@ -79,7 +79,7 @@ services:
zabbix-snmptraps: zabbix-snmptraps:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-snmptraps service: snmptraps
image: "${ZABBIX_SNMPTRAPS_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_SNMPTRAPS_IMAGE}:${ZABBIX_OL_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
labels: labels:
com.zabbix.os: "${OL_OS_TAG}" com.zabbix.os: "${OL_OS_TAG}"

View File

@ -47,7 +47,7 @@ services:
zabbix-server: zabbix-server:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-server-pgsql service: server-pgsql
build: build:
context: ./Dockerfiles/server-pgsql/${OL_OS_TAG_SHORT} context: ./Dockerfiles/server-pgsql/${OL_OS_TAG_SHORT}
cache_from: cache_from:
@ -66,7 +66,7 @@ services:
zabbix-proxy-sqlite3: zabbix-proxy-sqlite3:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-sqlite3 service: proxy-sqlite3
build: build:
context: ./Dockerfiles/proxy-sqlite3/${OL_OS_TAG_SHORT} context: ./Dockerfiles/proxy-sqlite3/${OL_OS_TAG_SHORT}
cache_from: cache_from:
@ -84,7 +84,7 @@ services:
zabbix-proxy-mysql: zabbix-proxy-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-mysql service: proxy-mysql
build: build:
context: ./Dockerfiles/proxy-mysql/${OL_OS_TAG_SHORT} context: ./Dockerfiles/proxy-mysql/${OL_OS_TAG_SHORT}
cache_from: cache_from:
@ -103,7 +103,7 @@ services:
zabbix-web-apache-pgsql: zabbix-web-apache-pgsql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-apache-pgsql service: web-apache-pgsql
build: build:
context: ./Dockerfiles/web-apache-pgsql/${OL_OS_TAG_SHORT} context: ./Dockerfiles/web-apache-pgsql/${OL_OS_TAG_SHORT}
cache_from: cache_from:
@ -122,7 +122,7 @@ services:
zabbix-web-nginx-pgsql: zabbix-web-nginx-pgsql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-nginx-pgsql service: web-nginx-pgsql
build: build:
context: ./Dockerfiles/web-nginx-pgsql/${OL_OS_TAG_SHORT} context: ./Dockerfiles/web-nginx-pgsql/${OL_OS_TAG_SHORT}
cache_from: cache_from:
@ -141,7 +141,7 @@ services:
zabbix-agent: zabbix-agent:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-agent service: agent
build: build:
context: ./Dockerfiles/agent/${OL_OS_TAG_SHORT} context: ./Dockerfiles/agent/${OL_OS_TAG_SHORT}
cache_from: cache_from:
@ -159,7 +159,7 @@ services:
zabbix-java-gateway: zabbix-java-gateway:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-java-gateway service: java-gateway
build: build:
context: ./Dockerfiles/java-gateway/${OL_OS_TAG_SHORT} context: ./Dockerfiles/java-gateway/${OL_OS_TAG_SHORT}
cache_from: cache_from:
@ -175,7 +175,7 @@ services:
zabbix-snmptraps: zabbix-snmptraps:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-snmptraps service: snmptraps
build: build:
context: ./Dockerfiles/snmptraps/${OL_OS_TAG_SHORT} context: ./Dockerfiles/snmptraps/${OL_OS_TAG_SHORT}
cache_from: cache_from:

View File

@ -3,7 +3,7 @@ services:
zabbix-server: zabbix-server:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-server-mysql service: server-mysql
image: "${ZABBIX_SERVER_MYSQL_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_SERVER_MYSQL_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
depends_on: depends_on:
- mysql-server - mysql-server
@ -13,7 +13,7 @@ services:
zabbix-proxy-sqlite3: zabbix-proxy-sqlite3:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-sqlite3 service: proxy-sqlite3
image: "${ZABBIX_PROXY_SQLITE3_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_PROXY_SQLITE3_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
labels: labels:
com.zabbix.os: "${UBUNTU_OS_TAG}" com.zabbix.os: "${UBUNTU_OS_TAG}"
@ -21,7 +21,7 @@ services:
zabbix-proxy-mysql: zabbix-proxy-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-mysql service: proxy-mysql
image: "${ZABBIX_PROXY_MYSQL_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_PROXY_MYSQL_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
depends_on: depends_on:
- mysql-server - mysql-server
@ -31,7 +31,7 @@ services:
zabbix-web-apache-mysql: zabbix-web-apache-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-apache-mysql service: web-apache-mysql
image: "${ZABBIX_WEB_APACHE_MYSQL_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_WEB_APACHE_MYSQL_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
depends_on: depends_on:
- mysql-server - mysql-server
@ -41,7 +41,7 @@ services:
zabbix-web-nginx-mysql: zabbix-web-nginx-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-nginx-mysql service: web-nginx-mysql
image: "${ZABBIX_WEB_NGINX_MYSQL_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_WEB_NGINX_MYSQL_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
depends_on: depends_on:
- mysql-server - mysql-server
@ -51,7 +51,7 @@ services:
zabbix-agent: zabbix-agent:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-agent service: agent
image: "${ZABBIX_AGENT_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_AGENT_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
labels: labels:
com.zabbix.os: "${UBUNTU_OS_TAG}" com.zabbix.os: "${UBUNTU_OS_TAG}"
@ -59,7 +59,7 @@ services:
zabbix-java-gateway: zabbix-java-gateway:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-java-gateway service: java-gateway
image: "${ZABBIX_JAVA_GATEWAY_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_JAVA_GATEWAY_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
labels: labels:
com.zabbix.os: "${UBUNTU_OS_TAG}" com.zabbix.os: "${UBUNTU_OS_TAG}"
@ -67,7 +67,7 @@ services:
zabbix-snmptraps: zabbix-snmptraps:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-snmptraps service: snmptraps
image: "${ZABBIX_SNMPTRAPS_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_SNMPTRAPS_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
labels: labels:
com.zabbix.os: "${UBUNTU_OS_TAG}" com.zabbix.os: "${UBUNTU_OS_TAG}"

View File

@ -34,7 +34,7 @@ services:
zabbix-server: zabbix-server:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-server-mysql service: server-mysql
build: build:
context: ./Dockerfiles/server-mysql/${UBUNTU_OS_TAG_SHORT} context: ./Dockerfiles/server-mysql/${UBUNTU_OS_TAG_SHORT}
cache_from: cache_from:
@ -52,7 +52,7 @@ services:
zabbix-proxy-sqlite3: zabbix-proxy-sqlite3:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-sqlite3 service: proxy-sqlite3
build: build:
context: ./Dockerfiles/proxy-sqlite3/${UBUNTU_OS_TAG_SHORT} context: ./Dockerfiles/proxy-sqlite3/${UBUNTU_OS_TAG_SHORT}
cache_from: cache_from:
@ -68,7 +68,7 @@ services:
zabbix-proxy-mysql: zabbix-proxy-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-mysql service: proxy-mysql
build: build:
context: ./Dockerfiles/proxy-mysql/${UBUNTU_OS_TAG_SHORT} context: ./Dockerfiles/proxy-mysql/${UBUNTU_OS_TAG_SHORT}
cache_from: cache_from:
@ -85,7 +85,7 @@ services:
zabbix-web-apache-mysql: zabbix-web-apache-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-apache-mysql service: web-apache-mysql
build: build:
context: ./Dockerfiles/web-apache-mysql/${UBUNTU_OS_TAG_SHORT} context: ./Dockerfiles/web-apache-mysql/${UBUNTU_OS_TAG_SHORT}
cache_from: cache_from:
@ -102,7 +102,7 @@ services:
zabbix-web-nginx-mysql: zabbix-web-nginx-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-nginx-mysql service: web-nginx-mysql
build: build:
context: ./Dockerfiles/web-nginx-mysql/${UBUNTU_OS_TAG_SHORT} context: ./Dockerfiles/web-nginx-mysql/${UBUNTU_OS_TAG_SHORT}
cache_from: cache_from:
@ -119,7 +119,7 @@ services:
zabbix-agent: zabbix-agent:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-agent service: agent
build: build:
context: ./Dockerfiles/agent/${UBUNTU_OS_TAG_SHORT} context: ./Dockerfiles/agent/${UBUNTU_OS_TAG_SHORT}
cache_from: cache_from:
@ -135,7 +135,7 @@ services:
zabbix-java-gateway: zabbix-java-gateway:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-java-gateway service: java-gateway
build: build:
context: ./Dockerfiles/java-gateway/${UBUNTU_OS_TAG_SHORT} context: ./Dockerfiles/java-gateway/${UBUNTU_OS_TAG_SHORT}
cache_from: cache_from:
@ -151,7 +151,7 @@ services:
zabbix-snmptraps: zabbix-snmptraps:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-snmptraps service: snmptraps
build: build:
context: ./Dockerfiles/snmptraps/${UBUNTU_OS_TAG_SHORT} context: ./Dockerfiles/snmptraps/${UBUNTU_OS_TAG_SHORT}
cache_from: cache_from:

View File

@ -3,7 +3,7 @@ services:
zabbix-server: zabbix-server:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-server-pgsql service: server-pgsql
image: "${ZABBIX_SERVER_PGSQL_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_SERVER_PGSQL_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
depends_on: depends_on:
- postgres-server - postgres-server
@ -13,7 +13,7 @@ services:
zabbix-proxy-sqlite3: zabbix-proxy-sqlite3:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-sqlite3 service: proxy-sqlite3
image: "${ZABBIX_PROXY_SQLITE3_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_PROXY_SQLITE3_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
labels: labels:
com.zabbix.os: "${UBUNTU_OS_TAG}" com.zabbix.os: "${UBUNTU_OS_TAG}"
@ -21,7 +21,7 @@ services:
zabbix-proxy-mysql: zabbix-proxy-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-mysql service: proxy-mysql
image: "${ZABBIX_PROXY_MYSQL_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_PROXY_MYSQL_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
depends_on: depends_on:
- mysql-server - mysql-server
@ -31,7 +31,7 @@ services:
zabbix-web-apache-pgsql: zabbix-web-apache-pgsql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-apache-pgsql service: web-apache-pgsql
image: "${ZABBIX_WEB_APACHE_PGSQL_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_WEB_APACHE_PGSQL_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
depends_on: depends_on:
- postgres-server - postgres-server
@ -41,7 +41,7 @@ services:
zabbix-web-nginx-pgsql: zabbix-web-nginx-pgsql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-nginx-pgsql service: web-nginx-pgsql
image: "${ZABBIX_WEB_NGINX_PGSQL_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_WEB_NGINX_PGSQL_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
depends_on: depends_on:
- postgres-server - postgres-server
@ -51,7 +51,7 @@ services:
zabbix-agent: zabbix-agent:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-agent service: agent
image: "${ZABBIX_AGENT_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_AGENT_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
labels: labels:
com.zabbix.os: "${UBUNTU_OS_TAG}" com.zabbix.os: "${UBUNTU_OS_TAG}"
@ -59,7 +59,7 @@ services:
zabbix-java-gateway: zabbix-java-gateway:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-java-gateway service: java-gateway
image: "${ZABBIX_JAVA_GATEWAY_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_JAVA_GATEWAY_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
labels: labels:
com.zabbix.os: "${UBUNTU_OS_TAG}" com.zabbix.os: "${UBUNTU_OS_TAG}"
@ -67,7 +67,7 @@ services:
zabbix-snmptraps: zabbix-snmptraps:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-snmptraps service: snmptraps
image: "${ZABBIX_SNMPTRAPS_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}" image: "${ZABBIX_SNMPTRAPS_IMAGE}:${ZABBIX_UBUNTU_IMAGE_TAG}${ZABBIX_IMAGE_TAG_POSTFIX}"
labels: labels:
com.zabbix.os: "${UBUNTU_OS_TAG}" com.zabbix.os: "${UBUNTU_OS_TAG}"

View File

@ -47,7 +47,7 @@ services:
zabbix-server: zabbix-server:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-server-pgsql service: server-pgsql
build: build:
context: ./Dockerfiles/server-pgsql/${UBUNTU_OS_TAG_SHORT} context: ./Dockerfiles/server-pgsql/${UBUNTU_OS_TAG_SHORT}
cache_from: cache_from:
@ -64,7 +64,7 @@ services:
zabbix-proxy-sqlite3: zabbix-proxy-sqlite3:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-sqlite3 service: proxy-sqlite3
build: build:
context: ./Dockerfiles/proxy-sqlite3/${UBUNTU_OS_TAG_SHORT} context: ./Dockerfiles/proxy-sqlite3/${UBUNTU_OS_TAG_SHORT}
cache_from: cache_from:
@ -80,7 +80,7 @@ services:
zabbix-proxy-mysql: zabbix-proxy-mysql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-proxy-mysql service: proxy-mysql
build: build:
context: ./Dockerfiles/proxy-mysql/${UBUNTU_OS_TAG_SHORT} context: ./Dockerfiles/proxy-mysql/${UBUNTU_OS_TAG_SHORT}
cache_from: cache_from:
@ -97,7 +97,7 @@ services:
zabbix-web-apache-pgsql: zabbix-web-apache-pgsql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-apache-pgsql service: web-apache-pgsql
build: build:
context: ./Dockerfiles/web-apache-pgsql/${UBUNTU_OS_TAG_SHORT} context: ./Dockerfiles/web-apache-pgsql/${UBUNTU_OS_TAG_SHORT}
cache_from: cache_from:
@ -114,7 +114,7 @@ services:
zabbix-web-nginx-pgsql: zabbix-web-nginx-pgsql:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-web-nginx-pgsql service: web-nginx-pgsql
build: build:
context: ./Dockerfiles/web-nginx-pgsql/${UBUNTU_OS_TAG_SHORT} context: ./Dockerfiles/web-nginx-pgsql/${UBUNTU_OS_TAG_SHORT}
cache_from: cache_from:
@ -131,7 +131,7 @@ services:
zabbix-agent: zabbix-agent:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-agent service: agent
build: build:
context: ./Dockerfiles/agent/${UBUNTU_OS_TAG_SHORT} context: ./Dockerfiles/agent/${UBUNTU_OS_TAG_SHORT}
cache_from: cache_from:
@ -147,7 +147,7 @@ services:
zabbix-java-gateway: zabbix-java-gateway:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-java-gateway service: java-gateway
build: build:
context: ./Dockerfiles/java-gateway/${UBUNTU_OS_TAG_SHORT} context: ./Dockerfiles/java-gateway/${UBUNTU_OS_TAG_SHORT}
cache_from: cache_from:
@ -163,7 +163,7 @@ services:
zabbix-snmptraps: zabbix-snmptraps:
extends: extends:
file: compose_zabbix_components.yaml file: compose_zabbix_components.yaml
service: zabbix-snmptraps service: snmptraps
build: build:
context: ./Dockerfiles/snmptraps/${UBUNTU_OS_TAG_SHORT} context: ./Dockerfiles/snmptraps/${UBUNTU_OS_TAG_SHORT}
cache_from: cache_from: