refactor: rename postgres-server to zabbix-db in Docker Compose and documentation

- Renamed `postgres-server` service to `zabbix-db` for consistency across services.
- Updated references in `docker-compose.yml` and local development guide to reflect the change.
This commit is contained in:
Andreas Hilbig 2026-02-13 09:09:43 +01:00
parent 6d0fe2c9d2
commit 1b9c1f2423
2 changed files with 6 additions and 6 deletions

View file

@ -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:

View file

@ -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).