Skip to content

Instantly share code, notes, and snippets.

@cordx56
Last active December 1, 2019 17:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cordx56/355d796aff3645d2c8bd93b1ca3bc431 to your computer and use it in GitHub Desktop.
Save cordx56/355d796aff3645d2c8bd93b1ca3bc431 to your computer and use it in GitHub Desktop.
version: "3"
services:
zabbix_appliance:
build: ./zabbix-docker/zabbix-appliance/alpine
volumes:
- ./dbdata:/var/lib/mysql
- ./alertscripts:/usr/lib/zabbix/alertscripts
ports:
- 80:80
- 10050:10050
environment:
ZBX_SERVER_NAME: "Amel Zabbix"
PHP_TZ: Asia/Tokyo
restart: always
zabbix_agent:
build: ./zabbix-docker/agent/alpine
links:
- zabbix_appliance
environment:
ZBX_SERVER_HOST: zabbix_appliance
restart: always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment