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 22:55:18 +02:00
parent 64bd7b0077
commit 1052794a39

10
config_prod.json Normal file
View File

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