Created
November 17, 2020 05:55
-
-
Save Saphareas/23156f289471fd14264c8c80ae5e5db9 to your computer and use it in GitHub Desktop.
Zabbix Docker Compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
zbx_server: | |
image: zabbix/zabbix-server-mysql:alpine-latest | |
name: | |
environment: | |
- DB_SERVER_HOST="zbx_db" | |
- MYSQL_USER="zabbix" | |
- MYSQL_PASSWORD="zabbix1234!" | |
restart: unless-stopped | |
depends_on: zbx_db | |
zbx_web: | |
image: zabbix/zabbix-web-nginx-mysql:alpine-latest | |
name: | |
environment: | |
- DB_SERVER_HOST="zbx_db" | |
- MYSQL_USER="zabbix" | |
- MYSQL_PASSWORD="zabbix1234!" | |
- ZBX_SERVER_HOST="zbx_server" | |
- PHP_TZ="Europe/Berlin" | |
ports: | |
- 8080:80 | |
- 8443:443 | |
restart: unless-stopped | |
depends_on: | |
- zbx_db | |
- zbx_server | |
zbx_db: | |
image: mariadb:latest | |
name: | |
environment: | |
- MYSQL_ROOT_PASSWORD="wert1234" | |
restart: unless-stopped |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment