From 6e1527a9d6bfd3b69ec384110d5fa2cf2234a469 Mon Sep 17 00:00:00 2001 From: Maximilian Soelch Date: Mon, 12 Aug 2024 12:50:20 +0200 Subject: [PATCH] Update docker compose to inject deployments via volumes --- docker-compose.prod.yml | 2 ++ docker-compose.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index e9ffa5b75..3350ae018 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -21,6 +21,8 @@ services: depends_on: - postgres image: ls1tum/athena_assessment_module_manager:${ATHENA_TAG:-develop} + volumes: + - ./deployments.ini:/code/deployments.ini:ro module_example: hostname: module-example diff --git a/docker-compose.yml b/docker-compose.yml index 77722f264..7f9567a88 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,6 +14,8 @@ services: - athena ports: - "5100:5100" + volumes: + - ./assessment_module_manager/deployments.ini:/code/deployments.ini:ro module_example: hostname: module-example