mirror of
https://github.com/clucraft/PriceGhost.git
synced 2026-06-14 15:25:15 +02:00
Add database initialization script
- Add database/init.sql with schema - Mount init.sql in docker-compose for auto-initialization - PostgreSQL will run this on first startup Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
93b6338e99
commit
5263ac93a9
2 changed files with 36 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ services:
|
|||
POSTGRES_DB: priceghost
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
- ./database/init.sql:/docker-entrypoint-initdb.d/init.sql:ro
|
||||
ports:
|
||||
- "5432:5432"
|
||||
healthcheck:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue