forked from ls1intum/Athena-CoFee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.yml
37 lines (29 loc) · 1.04 KB
/
docker-compose.override.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
version: '3'
# This override file mounts all local code-directories into the containers
# By that, rebuilding the containers is not needed for code changes locally as long as no requirements change
services:
traefik:
# This component does not need to be changed
load-balancer:
volumes:
- ./load-balance.yml:/usr/src/app/${LOAD_BALANCER_CONFIG_FILE_PATH}:ro
- ./load-balancer/src:/usr/src/app/src
segmentation:
volumes:
- ./segmentation/src:/usr/src/app/src
- ./text_preprocessing:/usr/src/app/src/text_preprocessing
embedding:
volumes:
- ./embedding/src:/usr/src/app/src
- ./text_preprocessing:/usr/src/app/src/text_preprocessing
- ${EMBEDDING_CLOUD_CONFIG_PATH}:/usr/src/app/src/cloud/config.py:ro
# This will keep the subdirectory as it is in the container
- /usr/src/app/src/resources
clustering:
volumes:
- ./clustering/src:/usr/src/app/src
tracking:
volumes:
- ./tracking/src:/usr/src/app/src
database:
# This component does not need to be changed