Hi im trying to run Zabbix in two docker containers one with the frontend and the other with the database
the containers start all good no errors but when i tried to access to the frontend it doesn`t respond
i read the documentation in https://hub.docker.com/u/zabbix for each of the images but im confused in how the variables work
also im not trying to run it with docker run like the examples but with docker compose
here is the yaml file i created for this task:
any ideas of what could be the problem?
the containers start all good no errors but when i tried to access to the frontend it doesn`t respond
i read the documentation in https://hub.docker.com/u/zabbix for each of the images but im confused in how the variables work
also im not trying to run it with docker run like the examples but with docker compose
here is the yaml file i created for this task:
Code:
version: '3.3'
services:
web:
image: zabbix/zabbix-web-apache-mysql:alpine-6.0.12
ports:
- 8080:8080
- 10051:10051
- 10050:10050
environment:
ZBX_SERVER_HOST: Zabbix
ZBX_SERVER_PORT: 10051
PHP_TZ: America/Montevideo
networks:
- zabbix_net
depends_on:
- database
database:
image: zabbix/zabbix-server-mysql:alpine-6.0.12
ports:
- 3306:3306
- 10053:10051
environment:
MYSQL_ROOT_PASSWORD: some-password
DB_SERVER_HOST: database
DB_SERVER_PORT: 3306
MYSQL_USER: zabbix
MYSQL_PASSWORD: zabbix
networks:
- zabbix_net
networks:
zabbix_net: