Skip to content

Commit

Permalink
Fix: migrations in compose
Browse files Browse the repository at this point in the history
  • Loading branch information
stelzo committed Oct 30, 2022
1 parent a484cb9 commit faf83f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ services:
- POSTGRES_PASSWORD
- POSTGRES_DB
volumes:
- ./migrations/000001_init_schema.up.sql:/docker-entrypoint-initdb.d/db.sql
- ./migrations/000001_init_schema.up.sql:/docker-entrypoint-initdb.d/1_init_schema.sql
- ./migrations/000002_pingdaysbefore.up.sql:/docker-entrypoint-initdb.d/2_pingdaysbefore.sql
- ./migrations/000003_almanax_preview.up.sql:/docker-entrypoint-initdb.d/3_almanax_preview.sql
# - ./postgres:/var/lib/postgresql/data
ports:
- "5432:5432"

0 comments on commit faf83f6

Please sign in to comment.