From b19aa370236e0f4391fd715266c6264313265d34 Mon Sep 17 00:00:00 2001 From: GotthardG <51994228+GotthardG@users.noreply.github.com> Date: Thu, 10 Apr 2025 00:19:10 +0200 Subject: [PATCH] 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. --- backend/config_prod.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/config_prod.json b/backend/config_prod.json index 7b4d543..77e4269 100644 --- a/backend/config_prod.json +++ b/backend/config_prod.json @@ -1,10 +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://backend:1492/openapi.json", + "OPENAPI_URL": "https://backend:8000/openapi.json", "SCHEMA_PATH": "/app/src/openapi.json", "OUTPUT_DIRECTORY": "/app/openapi", - "PORT": 1492, + "PORT": 8000, "SSL_KEY_PATH": "/app/backend/ssl/mx-aare-test.psi.ch.key", "SSL_CERT_PATH": "/app/backend/ssl/mx-aare-test.psi.ch.pem" } \ No newline at end of file