Skip to content

Commit

Permalink
Moved postgres init script to db directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
vmdocua committed Sep 19, 2023
1 parent 3a36ecc commit 964e01c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ services:
# `PODMAN_USERNS=keep-id podman-compose up`
volumes:
- ${DB_PATH_AT_HOST}/data:/var/lib/postgresql/data
- ./docker-postgres-init.sql:/docker-entrypoint-initdb.d/init.sql
- ./db/docker-postgres-001-init.sql:/docker-entrypoint-initdb.d/001-init.sql
healthcheck:
test: pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}
interval: 30s
Expand Down

0 comments on commit 964e01c

Please sign in to comment.