diff --git a/docker-compose.yml b/docker-compose.yml index c938d1f..51f2228 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -43,7 +43,7 @@ services: - mcp-shared:/mcp-data command: sh -c "cat /schema/*.graphql > /mcp-data/schema.graphql" - postgres-server: + zabbix-db: image: postgres:16-alpine profiles: - zabbix-local @@ -61,13 +61,13 @@ services: ports: - "10051:10051" environment: - - DB_SERVER_HOST=postgres-server + - DB_SERVER_HOST=zabbix-db - POSTGRES_USER=zabbix - POSTGRES_PASSWORD=zabbix - POSTGRES_DB=zabbix - ZBX_ALLOWUNSUPPORTEDDBVERSIONS=1 depends_on: - - postgres-server + - zabbix-db zabbix-web: image: zabbix/zabbix-web-nginx-pgsql:${ZABBIX_VERSION:-alpine-7.0-latest} @@ -77,14 +77,14 @@ services: - "8080:8080" environment: - ZBX_SERVER_HOST=zabbix-server - - DB_SERVER_HOST=postgres-server + - DB_SERVER_HOST=zabbix-db - POSTGRES_USER=zabbix - POSTGRES_PASSWORD=zabbix - POSTGRES_DB=zabbix - PHP_TZ=UTC - ZBX_ALLOWUNSUPPORTEDDBVERSIONS=1 depends_on: - - postgres-server + - zabbix-db - zabbix-server volumes: diff --git a/docs/howtos/local_development.md b/docs/howtos/local_development.md index 99bc147..4c9bf96 100644 --- a/docs/howtos/local_development.md +++ b/docs/howtos/local_development.md @@ -8,7 +8,7 @@ The project includes a Docker Compose profile that launches a complete Zabbix st ### Included Services - **`zabbix-graphql-api`**: The main GraphQL server. - **`apollo-mcp-server`**: The Model Context Protocol server for AI integration. -- **`postgres-server`**: PostgreSQL 16 database for Zabbix. +- **`zabbix-db`**: PostgreSQL 16 database for Zabbix. - **`zabbix-server`**: Zabbix Server (PostgreSQL version). - **`zabbix-web`**: Zabbix Web interface (Nginx/PostgreSQL).