Add logging. Use the normal PG ports.

This commit is contained in:
Dan Milne
2025-02-19 19:05:13 +11:00
parent 53195eb06c
commit 5dd89d3621
4 changed files with 28 additions and 4 deletions

View File

@@ -16,7 +16,13 @@ In the compose.yaml, you'll see `postgresql.${HOST_KIND}.conf`. This lets you ha
* CPX11 is a Hetzner host - 2 vCPUS, 2GB RAM
* Nano is a Linode host - 1 vCPU, 1GB RAM
### POSTGRES_PASSWORD
Used to set the `postgres` user's password
## Data directory
If you're using this for Cache, per SolidCache, you may be happy to use named bind mountings and let Docker manage storage.
Alternatively, bind mount a local directory for PostgreSQL to use.
## Logging
This configuration will log to a mounted volume, using PostgreSQL logging, and not to Stderr / Docker logging as per the default image.