Created
September 25, 2024 13:37
-
-
Save arkadius/307067e9140a180ad85b89aef586d232 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
postgres-setup: | |
image: postgres:16.4 | |
depends_on: | |
postgres: | |
condition: service_healthy | |
networks: | |
- nussknacker-iceberg-net | |
environment: | |
PGHOST: "postgres" | |
PGDATABASE: "nu-db" | |
PGUSER: "nu" | |
PGPASSWORD: "nupassword" | |
DB: nessie | |
USER: nessie | |
PASSWORD: nessie | |
volumes: | |
- ./postgres/create-db.sh:/create-db.sh | |
entrypoint: ["bash", "/create-db.sh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment