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:
parent
6d0fe2c9d2
commit
1b9c1f2423
2 changed files with 6 additions and 6 deletions
|
|
@ -43,7 +43,7 @@ services:
|
||||||
- mcp-shared:/mcp-data
|
- mcp-shared:/mcp-data
|
||||||
command: sh -c "cat /schema/*.graphql > /mcp-data/schema.graphql"
|
command: sh -c "cat /schema/*.graphql > /mcp-data/schema.graphql"
|
||||||
|
|
||||||
postgres-server:
|
zabbix-db:
|
||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
profiles:
|
profiles:
|
||||||
- zabbix-local
|
- zabbix-local
|
||||||
|
|
@ -61,13 +61,13 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "10051:10051"
|
- "10051:10051"
|
||||||
environment:
|
environment:
|
||||||
- DB_SERVER_HOST=postgres-server
|
- DB_SERVER_HOST=zabbix-db
|
||||||
- POSTGRES_USER=zabbix
|
- POSTGRES_USER=zabbix
|
||||||
- POSTGRES_PASSWORD=zabbix
|
- POSTGRES_PASSWORD=zabbix
|
||||||
- POSTGRES_DB=zabbix
|
- POSTGRES_DB=zabbix
|
||||||
- ZBX_ALLOWUNSUPPORTEDDBVERSIONS=1
|
- ZBX_ALLOWUNSUPPORTEDDBVERSIONS=1
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres-server
|
- zabbix-db
|
||||||
|
|
||||||
zabbix-web:
|
zabbix-web:
|
||||||
image: zabbix/zabbix-web-nginx-pgsql:${ZABBIX_VERSION:-alpine-7.0-latest}
|
image: zabbix/zabbix-web-nginx-pgsql:${ZABBIX_VERSION:-alpine-7.0-latest}
|
||||||
|
|
@ -77,14 +77,14 @@ services:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
environment:
|
environment:
|
||||||
- ZBX_SERVER_HOST=zabbix-server
|
- ZBX_SERVER_HOST=zabbix-server
|
||||||
- DB_SERVER_HOST=postgres-server
|
- DB_SERVER_HOST=zabbix-db
|
||||||
- POSTGRES_USER=zabbix
|
- POSTGRES_USER=zabbix
|
||||||
- POSTGRES_PASSWORD=zabbix
|
- POSTGRES_PASSWORD=zabbix
|
||||||
- POSTGRES_DB=zabbix
|
- POSTGRES_DB=zabbix
|
||||||
- PHP_TZ=UTC
|
- PHP_TZ=UTC
|
||||||
- ZBX_ALLOWUNSUPPORTEDDBVERSIONS=1
|
- ZBX_ALLOWUNSUPPORTEDDBVERSIONS=1
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres-server
|
- zabbix-db
|
||||||
- zabbix-server
|
- zabbix-server
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ The project includes a Docker Compose profile that launches a complete Zabbix st
|
||||||
### Included Services
|
### Included Services
|
||||||
- **`zabbix-graphql-api`**: The main GraphQL server.
|
- **`zabbix-graphql-api`**: The main GraphQL server.
|
||||||
- **`apollo-mcp-server`**: The Model Context Protocol server for AI integration.
|
- **`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-server`**: Zabbix Server (PostgreSQL version).
|
||||||
- **`zabbix-web`**: Zabbix Web interface (Nginx/PostgreSQL).
|
- **`zabbix-web`**: Zabbix Web interface (Nginx/PostgreSQL).
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue