-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
69 lines (67 loc) · 2.09 KB
/
compose.yaml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
version: '3.8'
volumes:
temp_storage:
services:
gesgen:
build:
context: ./src/ZeroEGGS/
dockerfile: Dockerfile
depends_on:
- redis
environment:
- CELERY_BROKER_URL=${CELERY_BROKER_URL}
- CELERY_RESULT_BACKEND=${CELERY_RESULT_BACKEND}
- CELERY_WORKER_TIMEOUT=${CELERY_WORKER_TIMEOUT}
- SERVER_MODE=${SERVER_MODE}
- WORKER_COUNT_GESGEN=${WORKER_COUNT_GESGEN}
image: wasp-ss2023-gesgen
volumes:
- './data:/app/data:ro'
- './output:/app/output'
- type: volume
source: 'temp_storage'
target: /shared_storage/
- ./src/ZeroEGGS:/app/ZeroEGGS
visual:
build:
context: ./src/genea_visualizer/
dockerfile: Dockerfile
image: wasp-ss2023-visual
depends_on:
- redis
environment:
- CELERY_BROKER_URL=${CELERY_BROKER_URL}
- CELERY_RESULT_BACKEND=${CELERY_RESULT_BACKEND}
- CELERY_WORKER_TIMEOUT=${CELERY_WORKER_TIMEOUT}
- SERVER_MODE=${SERVER_MODE}
- WORKER_COUNT_VISUAL=${WORKER_COUNT_VISUAL}
volumes:
- './data:/app/data:ro'
- './output:/app/output'
- type: volume
source: 'temp_storage'
target: /shared_storage/
- ./src/genea_visualizer:/app/genea_visualizer
web:
build:
context: ./src/app/
dockerfile: Dockerfile
depends_on:
- redis
environment:
- INTERNAL_WEB_PORT=${INTERNAL_WEB_PORT}
- CELERY_BROKER_URL=${CELERY_BROKER_URL}
- CELERY_RESULT_BACKEND=${CELERY_RESULT_BACKEND}
- SERVER_MODE=${SERVER_MODE}
image: wasp-ss2023-web
ports:
- ${PUBLIC_WEB_PORT}:${INTERNAL_WEB_PORT}
volumes:
- './data:/app/data:ro'
- './output:/app/output'
- type: volume
source: 'temp_storage'
target: /shared_storage/
- ./src/app:/app
redis:
image: redis:7-alpine