flyway compose

This commit is contained in:
Jake Kasper
2025-09-02 09:50:23 -05:00
parent d566be09b0
commit b41c53957d

View File

@@ -90,7 +90,8 @@ services:
- FLYWAY_PASSWORD=${DB_PASSWORD:-password123} - FLYWAY_PASSWORD=${DB_PASSWORD:-password123}
# Uncomment if you need to baseline an existing DB without schema history # Uncomment if you need to baseline an existing DB without schema history
- FLYWAY_BASELINE_ON_MIGRATE=true - FLYWAY_BASELINE_ON_MIGRATE=true
command: -locations=filesystem:/migrations migrate - FLYWAY_LOCATIONS=filesystem:/migrations
command: migrate
volumes: volumes:
- ./database/migrations:/migrations:ro - ./database/migrations:/migrations:ro
networks: networks: