-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
46 lines (41 loc) · 903 Bytes
/
docker-compose.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
version: '3'
services:
web:
restart: always
build: ./web
expose:
- "8000"
volumes:
- ./web:/vol
env_file: .env
command: /usr/local/bin/gunicorn --reload -w 2 -b :8000 app:app --log-level=debug
nginx:
restart: always
build: ./nginx/
ports:
- "80:80"
volumes:
- ./web/app/static:/www/static
postgres:
restart: always
image: postgres:latest
volumes:
- data-volume:/var/lib/postgresql/data
expose:
- "5432"
env_file: .db_env
gulper:
restart: always
build: ./gulper
volumes:
- ./web:/runtime/src
redis:
restart: always
image: redis:latest
volumes:
- ./redis-data:/mounting-data
command: redis-server --dbfilename dump.rdb --dir /mounting-data --save "" --appendonly no --requirepass stoptakingdownourr3d1s
expose:
- "6379"
volumes:
data-volume: