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:
parent
f3951f5be1
commit
7dc7e32c33
@ -83,6 +83,7 @@ services:
|
||||
- ./backend/ssl:/app/backend/ssl # clearly mount SSL files explicitly into Docker
|
||||
environment:
|
||||
- VITE_OPENAPI_BASE=${VITE_OPENAPI_BASE}
|
||||
- NODE_ENV=${NODE_ENV}
|
||||
|
||||
|
||||
volumes: # ⬅️ Persistent storage for PostgreSQL data
|
||||
|
Loading…
x
Reference in New Issue
Block a user