Skip to content

Instantly share code, notes, and snippets.

@geirgp
Created August 3, 2016 11:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save geirgp/8982358d618d638cb98c20fed6581008 to your computer and use it in GitHub Desktop.
Save geirgp/8982358d618d638cb98c20fed6581008 to your computer and use it in GitHub Desktop.
zabbix-db:
image: zabbix/zabbix-db-mariadb
volumes_from:
- zabbix-db-storage
environment:
- MARIADB_USER=zabbix
- MARIADB_PASS=zabbixpassasd
zabbix-db-storage:
image: busybox:latest
volumes:
- /var/lib/mysql
- /backups
labels:
io.rancher.container.start_once: 'true'
zabbix-server:
image: zabbix/zabbix-3.0:latest
ports:
- "10051:10051"
links:
- zabbix-db:zabbix.db
environment:
- ZS_DBHost=zabbix.db
- ZS_DBUser=zabbix
- ZS_DBPassword=zabbixpassasd
- XXL_zapix=true
- XXL_grapher=true
labels:
io.rancher.sidekicks: zabbix-db,zabbix-db-storage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment