forked from FG-AI4H/health-aiaudit-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-staging.yml
96 lines (90 loc) · 2.66 KB
/
docker-compose-staging.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
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
version: "3"
services:
django:
image: ${AWS_ACCOUNT_ID}.dkr.ecr.eu-central-1.amazonaws.com/evalai-staging-backend:${COMMIT_ID}
env_file:
- docker/prod/docker_staging.env
build:
context: ./
dockerfile: docker/prod/django/Dockerfile
ports:
- "8000:8000"
logging:
driver: awslogs
options:
awslogs-region: eu-central-1
awslogs-group: django_staging
awslogs-create-group: "true"
celery:
image: ${AWS_ACCOUNT_ID}.dkr.ecr.eu-central-1.amazonaws.com/evalai-staging-celery:${COMMIT_ID}
env_file:
- docker/prod/docker_staging.env
build:
context: ./
dockerfile: docker/prod/celery/Dockerfile
depends_on:
- django
logging:
driver: awslogs
options:
awslogs-region: eu-central-1
awslogs-group: celery_staging
awslogs-create-group: "true"
worker:
image: ${AWS_ACCOUNT_ID}.dkr.ecr.eu-central-1.amazonaws.com/evalai-staging-worker:${COMMIT_ID}
build:
context: ./
dockerfile: docker/prod/worker/Dockerfile
env_file:
- docker/prod/docker_staging.env
nodejs:
image: ${AWS_ACCOUNT_ID}.dkr.ecr.eu-central-1.amazonaws.com/evalai-staging-frontend:${COMMIT_ID}
build:
context: ./
dockerfile: docker/prod/nodejs/Dockerfile
args:
NODE_ENV: staging
ports:
- "80:80"
- "443:443"
volumes:
- /code/node_modules
- /code/bower_components
logging:
driver: awslogs
options:
awslogs-region: eu-central-1
awslogs-group: nodejs_staging
awslogs-create-group: "true"
nodejs_v2:
image: ${AWS_ACCOUNT_ID}.dkr.ecr.eu-central-1.amazonaws.com/evalai-staging-frontend-v2:${COMMIT_ID}
build:
context: ./
dockerfile: docker/prod/nodejs_v2/Dockerfile
args:
NODE_ENV: staging
ports:
- "9999:80"
volumes:
- /code/node_modules
logging:
driver: awslogs
options:
awslogs-region: eu-central-1
awslogs-group: nodejs_staging_v2
awslogs-create-group: "true"
remote-worker:
image: ${AWS_ACCOUNT_ID}.dkr.ecr.eu-central-1.amazonaws.com/evalai-staging-remote-worker:${COMMIT_ID}
build:
context: ./
dockerfile: docker/prod/worker/Dockerfile
command: ["python", "-m", "scripts.workers.remote_submission_worker"]
env_file:
- docker/prod/docker_remote_worker.env
code-upload-worker:
image: ${AWS_ACCOUNT_ID}.dkr.ecr.eu-central-1.amazonaws.com/evalai-staging-code-upload-worker:${COMMIT_ID}
env_file:
- docker/prod/docker_code_upload_worker.env
build:
context: ./
dockerfile: docker/prod/code-upload-worker/Dockerfile