From 1052794a393399187692d91c72c5278e50ffb9ab Mon Sep 17 00:00:00 2001 From: GotthardG <51994228+GotthardG@users.noreply.github.com> Date: Wed, 9 Apr 2025 22:55:18 +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 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 config_prod.json diff --git a/config_prod.json b/config_prod.json new file mode 100644 index 0000000..e5368c4 --- /dev/null +++ b/config_prod.json @@ -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" +} \ No newline at end of file