Skip to content

Commit

Permalink
compose override
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiasakesson committed Jun 18, 2024
1 parent 18101ec commit 367a7d8
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions examples/monai-2D-mednist/docker-compose.override.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,28 @@ services:
service: client
environment:
<<: *defaults
FEDN_DATA_PATH: /app/package/client/data/MedNIST
FEDN_CLIENT_SETTINGS_PATH: /app/client_settings.yaml
FEDN_DATA_PATH: /app/data/MedNIST
FEDN_CLIENT_SETTINGS_PATH: /app/client_settings.yaml
FEDN_DATA_SPLIT_INDEX: 0
deploy:
replicas: 1
volumes:
- ${HOST_REPO_DIR:-.}/fedn:/app/fedn
- ${HOST_REPO_DIR:-.}/examples/monai-2D-mednist/client_settings.yaml:/app/client_settings.yaml
- ${HOST_REPO_DIR:-.}/examples/monai-2D-mednist/client_settings.yaml:/app/client_settings.yaml
- ${HOST_REPO_DIR:-.}/examples/monai-2D-mednist/data:/app/data

client2:
extends:
file: ${HOST_REPO_DIR:-.}/docker-compose.yaml
service: client
environment:
<<: *defaults
FEDN_DATA_PATH: /app/package/client/data/MedNIST
FEDN_DATA_PATH: /app/data/MedNIST
FEDN_CLIENT_SETTINGS_PATH: /app/client_settings.yaml
FEDN_DATA_SPLIT_INDEX: 1
deploy:
replicas: 1
volumes:
- ${HOST_REPO_DIR:-.}/fedn:/app/fedn
- ${HOST_REPO_DIR:-.}/examples/monai-2D-mednist/client_settings.yaml:/app/client_settings.yaml
- ${HOST_REPO_DIR:-.}/examples/monai-2D-mednist/data:/app/data

0 comments on commit 367a7d8

Please sign in to comment.