flyway compose
This commit is contained in:
@@ -90,7 +90,8 @@ services:
|
||||
- FLYWAY_PASSWORD=${DB_PASSWORD:-password123}
|
||||
# Uncomment if you need to baseline an existing DB without schema history
|
||||
- FLYWAY_BASELINE_ON_MIGRATE=true
|
||||
command: -locations=filesystem:/migrations migrate
|
||||
- FLYWAY_LOCATIONS=filesystem:/migrations
|
||||
command: migrate
|
||||
volumes:
|
||||
- ./database/migrations:/migrations:ro
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user