chore: update docker-compose.yml to allow dynamic initialization SQL file path
Some checks failed
Deploy with Docker Compose / deploy (push) Failing after 5s
Some checks failed
Deploy with Docker Compose / deploy (push) Failing after 5s
This commit is contained in:
@@ -34,7 +34,7 @@ services:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
- ./scripts/init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||
-${INIT_SQL:-./scripts/init.sql}:/docker-entrypoint-initdb.d/init.sql
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U peakskills_user -d peakskills"]
|
||||
interval: 10s
|
||||
|
||||
Reference in New Issue
Block a user