Refactor Docker setup and migrate to PostgreSQL
Streamlined Dockerfiles with clearer ENV variables and build args. Switched backend database from MySQL to PostgreSQL, updated configurations accordingly, and added robust Docker Compose services for better orchestration, including health checks and persistent storage.
This commit is contained in:
@ -61,7 +61,7 @@ services:
|
||||
- ./backend/ssl:/app/backend/ssl
|
||||
- ./backend/config_${ENVIRONMENT}.json:/app/backend/config_${ENVIRONMENT}.json # Dynamically maps config based on environment
|
||||
|
||||
command: sh -c "npm run dev & ENVIRONMENT=dev npm run watch:openapi"
|
||||
command: sh -c "npm run start-${ENVIRONMENT} & ENVIRONMENT=${ENVIRONMENT} npm run watch:openapi"
|
||||
|
||||
logistics_frontend:
|
||||
build:
|
||||
|
Reference in New Issue
Block a user