refactor(zabbixserver): Directly link to PostgreSQL initialization script

This commit is contained in:
hygienic-books 2023-04-29 03:02:16 +02:00
parent ffa40e7a0e
commit d7e7e4823c

View File

@ -67,7 +67,7 @@ docker compose --file "${COMPOSE_FILE}" --env-file "${COMPOSE_ENV_FILE}" up
```
Example data you're going to want to physically place on your deployment machine. SSL certs and keys are blank files each of which has the exact same name used in env file `fqdn_context.env.example`.
A PostgreSQL initialization script - when this container is run on a completely empty data directory - will create an additional read-only user `ZBX_DB_USERNAME_RO` with password `ZBX_DB_USERNAME_PW`. The example's intended to grant a Grafana daemon direct PostgreSQL database read access.
In [postgres/config/docker-entrypoint-initdb.d](build-context/docker-data/postgres/config/docker-entrypoint-initdb.d) a PostgreSQL initialization script - when this container is run on a completely empty data directory - will create an additional read-only user `ZBX_DB_USERNAME_RO` with password `ZBX_DB_USERNAME_PW`. The example's intended to grant a Grafana daemon direct PostgreSQL database read access.
# Upgrade an existing repo