Advertisement
Guest User

Untitled

a guest
Jul 19th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. version: '3'
  2. services:
  3.  
  4. db:
  5. image: monitoringartist/zabbix-db-mariadb
  6. volumes:
  7. - zabbix-db-storage:/var/lib/mysql
  8. - backups-za:/backups
  9. - localtime-za:/etc/localtime:ro
  10. environment:
  11. - MARIADB_USER=zabbix
  12. - MARIADB_PASS=my_zabbix_password
  13. ports:
  14. - "3306"
  15. networks:
  16. - zabbix-net
  17.  
  18.  
  19. server:
  20. image: monitoringartist/zabbix-xxl:latest
  21. depends_on:
  22. - zabbix-db
  23. ports:
  24. - "9080:80"
  25. - "10051:10051"
  26. volumes:
  27. - localtime-za:/etc/localtime:ro
  28. environment:
  29. - ZS_DBHost=zabbix.db
  30. - ZS_DBUser=zabbix
  31. - ZS_DBPassword=my_zabbix_password
  32. networks:
  33. - zabbix-net
  34.  
  35.  
  36.  
  37.  
  38. networks:
  39. zabbix-net:
  40.  
  41. volumes:
  42. zabbix-db-storage:
  43. backups-za:
  44. localtime-za:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement