mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-11-21 13:34:26 +03:00
56 lines
1.6 KiB
YAML
56 lines
1.6 KiB
YAML
version: "3.7"
|
|
|
|
services:
|
|
|
|
app_proxy:
|
|
environment:
|
|
APP_HOST: zabbix_zabbix-frontend_1
|
|
APP_PORT: 8080
|
|
|
|
zabbix-frontend:
|
|
image: zabbix/zabbix-web-nginx-pgsql:7.0.6-alpine@sha256:26a0912f42ecb40d8284ae9a93e3cf76de4ce69c5cd5ca2071181fcdabf3e4b6
|
|
hostname: zabbix-frontend
|
|
restart: on-failure
|
|
environment:
|
|
DB_SERVER_HOST: zabbix-database
|
|
POSTGRES_USER: zabbix
|
|
POSTGRES_PASSWORD: zabbix
|
|
ZBX_SERVER_HOST: zabbix-server
|
|
PHP_TZ: UTC
|
|
depends_on:
|
|
- zabbix-server
|
|
- zabbix-database
|
|
|
|
zabbix-server:
|
|
image: zabbix/zabbix-server-pgsql:7.0.6-alpine@sha256:92a5a74f047d401f038d2a64205c3e90d80a5083a249cbdbc6e5d9047f36b3a4
|
|
hostname: zabbix-server
|
|
restart: on-failure
|
|
init: true
|
|
environment:
|
|
DB_SERVER_HOST: zabbix-database
|
|
POSTGRES_USER: zabbix
|
|
POSTGRES_PASSWORD: zabbix
|
|
ports:
|
|
- "10050:10050"
|
|
depends_on:
|
|
- zabbix-database
|
|
|
|
zabbix-agent:
|
|
image: zabbix/zabbix-agent2:7.0.6-alpine@sha256:ebb24b2b764f22d33e14f669a859adec3989d0f97b843fecb87bb587deea102b
|
|
hostname: zabbix-agent
|
|
restart: on-failure
|
|
init: true
|
|
environment:
|
|
ZBX_HOSTNAME: zabbix-agent
|
|
ZBX_SERVER_HOST: zabbix-server
|
|
|
|
zabbix-database:
|
|
image: postgres:13.16-alpine3.20@sha256:e04acf5744305c9c6a19cedaa23d70a3a74b94cf62084e284793be756087aaa2
|
|
hostname: zabbix-database
|
|
restart: on-failure
|
|
environment:
|
|
POSTGRES_PASSWORD: zabbix
|
|
POSTGRES_USER: zabbix
|
|
POSTGRES_DB: zabbix
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data/postgres:/var/lib/postgresql/data |