-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprod-cern.yml
39 lines (35 loc) · 870 Bytes
/
prod-cern.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
version: '3'
services:
channel: # Django Channel
build: .
env_file:
- .env-cern
environment:
- EBS_ENV_TYPE=web
- NO_DJANGO_MIGRATION=True
command: ['/code/deploy/scripts/eb_exec.sh']
ports:
- '8000:80'
celery: # Celery Workers
build: .
env_file:
- .env-cern
environment:
- WORKER_TYPE=celery
command: ['/code/deploy/scripts/eb_exec.sh']
nginx: # NGINX Server
build: ./deploy/nginx
env_file:
- .env-cern
depends_on:
- channel
volumes:
- certs:/etc/letsencrypt
- certs-data:/data/letsencrypt
- ./deploy/nginx/config/:/etc/nginx/conf.d/:z
ports:
- '80:80'
- '443:443'
volumes:
certs:
certs-data: