-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (28 loc) · 913 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
30 lines (28 loc) · 913 Bytes
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
version: '3'
services:
web:
build: .
ports:
- 8000:8000
volumes:
- ./db/db.sqlite3:/app/db.sqlite3
- ./media:/app/media
- /etc/letsencrypt/live/diningfee.iiti.ac.in/fullchain.pem:/etc/letsencrypt/live/diningfee.iiti.ac.in/fullchain.pem
- /etc/letsencrypt/live/diningfee.iiti.ac.in/privkey.pem:/etc/letsencrypt/live/diningfee.iiti.ac.in/privkey.pem
env_file:
- ./.env
environment:
- GUNICORN_WORKERS=9
- GUNICORN_THREADS=4
- GUNICORN_TIMEOUT=300
nginx:
build: ./nginx
ports:
- 80:80
- 443:443
volumes:
- ./db/db.sqlite3:/app/db.sqlite3
- /etc/letsencrypt/live/diningfee.iiti.ac.in/fullchain.pem:/etc/letsencrypt/live/diningfee.iiti.ac.in/fullchain.pem
- /etc/letsencrypt/live/diningfee.iiti.ac.in/privkey.pem:/etc/letsencrypt/live/diningfee.iiti.ac.in/privkey.pem
depends_on:
- web