flyway compose
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user