From bc24cba6cd2b173015a13ef0bbcfdf6ad4843f14 Mon Sep 17 00:00:00 2001 From: Andreas Hellander Date: Mon, 29 Jan 2024 20:13:03 +0100 Subject: [PATCH] Add docker compose override file for async example --- .../async-simulation/docker-compose.override.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 examples/async-simulation/docker-compose.override.yaml diff --git a/examples/async-simulation/docker-compose.override.yaml b/examples/async-simulation/docker-compose.override.yaml new file mode 100644 index 000000000..61034ce69 --- /dev/null +++ b/examples/async-simulation/docker-compose.override.yaml @@ -0,0 +1,15 @@ +# Compose schema version +version: '3.3' + +# Overriding requirements +services: + client: + build: + args: + REQUIREMENTS: examples/async-simulation/requirements.txt + deploy: + replicas: 2 + volumes: + - ${HOST_REPO_DIR:-.}/fedn:/app/fedn + - ${HOST_REPO_DIR:-.}/examples/async-simulation/data:/var/data + - /var/run/docker.sock:/var/run/docker.sock