mirror of
https://github.com/gotson/komga.git
synced 2026-05-08 12:35:30 +02:00
chore: configure docker-compose.local.yml with consolidated schema and Flyway baseline
This commit is contained in:
parent
ff6bf2d6ac
commit
f4652f79d8
1 changed files with 4 additions and 1 deletions
|
|
@ -12,7 +12,8 @@ services:
|
|||
- "5433:5432"
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
- ./docker/postgres/init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||
- ./docker/postgres/init.sql:/docker-entrypoint-initdb.d/01-init.sql
|
||||
- ./komga/src/flyway/resources/db/migration/postgresql/V001__initial_migration.sql:/docker-entrypoint-initdb.d/02-schema.sql
|
||||
healthcheck:
|
||||
test: [ "CMD-SHELL", "pg_isready -U komga" ]
|
||||
interval: 10s
|
||||
|
|
@ -37,6 +38,8 @@ services:
|
|||
KOMGA_DATABASE_POOL_SIZE: 10
|
||||
KOMGA_DATABASE_MAX_POOL_SIZE: 10
|
||||
SPRING_FLYWAY_ENABLED: "true"
|
||||
SPRING_FLYWAY_BASELINE_ON_MIGRATE: "true"
|
||||
SPRING_FLYWAY_BASELINE_VERSION: "20250730173126"
|
||||
ports:
|
||||
- "25600:25600"
|
||||
volumes:
|
||||
|
|
|
|||
Loading…
Reference in a new issue