docker-postgresql-multiple-databases
docker-postgresql-multiple-databases copied to clipboard
Postgres 16 compatibility (FATAL: database does not exist)
Using a reasonably new version of postgres image (tried 16-alpine), you would get a
FATAL: database "myapp" does not exist
See https://dev.to/nietzscheson/multiples-postgres-databases-in-one-service-with-docker-compose-4fdf#comment-2fd1m for further discussion and a possible workaround.