This commit is contained in:
Jake Kasper
2025-09-02 07:28:28 -05:00
parent 4476c6f6f7
commit 714f90bb1a
2 changed files with 14 additions and 6 deletions

View File

@@ -67,7 +67,7 @@ services:
- FRONTEND_URL=https://turftracker.kaspers.us
volumes:
- ./backend:/app
- /app/node_modules
- backend_node_modules:/app/node_modules
depends_on:
- db
networks:
@@ -105,7 +105,7 @@ services:
- FLYWAY_USER=${DB_USER:-turftracker}
- FLYWAY_PASSWORD=${DB_PASSWORD:-password123}
# 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
volumes:
- ./database/migrations:/migrations:ro