Skip to content

Instantly share code, notes, and snippets.

@ax003d
Last active June 7, 2017 10:51
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 ax003d/7c65320e66f130ac9c33d397f93d9e4c to your computer and use it in GitHub Desktop.
Save ax003d/7c65320e66f130ac9c33d397f93d9e4c to your computer and use it in GitHub Desktop.
version: '2'
services:
mysql:
image: mysql:5
environment:
MYSQL_ROOT_PASSWORD: 'root'
volumes:
- /data/volumes/mysql:/var/lib/mysql
server:
image: zabbix/zabbix-server-mysql:alpine-3.2-latest
environment:
DB_SERVER_HOST: mysql
MYSQL_USER: root
MYSQL_PASSWORD: root
web:
image: zabbix/zabbix-web-nginx-mysql:alpine-3.2-latest
environment:
DB_SERVER_HOST: mysql
MYSQL_USER: root
MYSQL_PASSWORD: root
ZBX_SERVER_HOST: server
TZ: Asia/Shanghai
ports:
- 10080:80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment