forked from Cloud-CV/EvalAI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-staging.yml
38 lines (35 loc) · 977 Bytes
/
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
version: "3"
services:
django:
image: ${AWS_ACCOUNT_ID}.dkr.ecr.us-east-1.amazonaws.com/evalai-staging-backend:${COMMIT_ID}
container_name: django
env_file:
- docker/prod/docker_staging.env
build:
context: ./
dockerfile: docker/prod/django/Dockerfile
ports:
- "8000:8000"
worker:
image: ${AWS_ACCOUNT_ID}.dkr.ecr.us-east-1.amazonaws.com/evalai-staging-worker:${COMMIT_ID}
container_name: worker
build:
context: ./
dockerfile: docker/prod/worker/Dockerfile
depends_on:
- django
env_file:
- docker/prod/docker_staging.env
nodejs:
image: ${AWS_ACCOUNT_ID}.dkr.ecr.us-east-1.amazonaws.com/evalai-staging-frontend:${COMMIT_ID}
container_name: nodejs
build:
context: ./
dockerfile: docker/prod/nodejs/Dockerfile_staging
environment:
NODE_ENV: production
ports:
- "80:80"
volumes:
- /code/node_modules
- /code/bower_components