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:35:32 +02:00
parent fe80ba7be2
commit c0a43351e1

View File

@ -178,9 +178,9 @@ async function fetchAndGenerate() {
const backendDirectory = (() => {
switch (nodeEnv) {
case 'prod':
return path.resolve('/app/backend/app'); // Production path
return path.resolve('/app/backend'); // Production path
case 'test':
return path.resolve('/app/backend/app'); // Test path
return path.resolve('/app/backend'); // Test path
case 'dev':
default:
return path.resolve('/app/backend'); // Development path