From 5cd81579049d7f6a990e4369a4f58c3bf3c674d3 Mon Sep 17 00:00:00 2001 From: GotthardG <51994228+GotthardG@users.noreply.github.com> Date: Thu, 10 Apr 2025 00:19:53 +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. --- config_prod.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config_prod.json b/config_prod.json index e5368c4..2a0957c 100644 --- a/config_prod.json +++ b/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://mx-aare-test.psi.ch:1492/openapi.json", + "OPENAPI_URL": "https://mx-aare-test.psi.ch: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