Docker Compose Generator
Local processingPostgreSQL 18+ uses a version-specific data directory under /var/lib/postgresql. Changing the major tag requires a deliberate data migration and mount review. Image documentation
1 of 20 services
postgres · postgres:18
Published ports
Bindings use 127.0.0.1. Remove a mapping to keep that port off the host.
Named volumes
Generated files
Required .env variables: POSTGRES_PASSWORD. All image tags can change; pin digests for reproducibility.
Before running locally: docker compose config --quiet. This generator checks its supported fields; your installed Compose and the images provide the runtime validation.