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:
GotthardG 2025-04-09 23:39:27 +02:00
parent c0a43351e1
commit af51428fc2

View File

@ -1,7 +1,7 @@
{ {
"ssl_cert_path": "/app/backend/ssl/mx-aare-test.psi.ch.pem", "ssl_cert_path": "/app/backend/ssl/mx-aare-test.psi.ch.pem",
"ssl_key_path": "/app/backend/ssl/mx-aare-test.psi.ch.key", "ssl_key_path": "/app/backend/ssl/mx-aare-test.psi.ch.key",
"OPENAPI_URL": "https://mx-aare-test.psi.ch:1492/openapi.json", "OPENAPI_URL": "https://backend:1492/openapi.json",
"SCHEMA_PATH": "/app/src/openapi.json", "SCHEMA_PATH": "/app/src/openapi.json",
"OUTPUT_DIRECTORY": "/app/openapi", "OUTPUT_DIRECTORY": "/app/openapi",
"PORT": 1492, "PORT": 1492,