-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
64 lines (56 loc) · 1.2 KB
/
docker-compose.yml
File metadata and controls
64 lines (56 loc) · 1.2 KB
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
version: '2'
services:
postgres:
image: 'postgres:9.5'
env_file:
- '.env'
volumes:
- 'postgres:/var/lib/postgresql/data'
ports:
- '5432:5432'
pgadmin:
image: dpage/pgadmin4
environment:
PGADMIN_DEFAULT_EMAIL: jamespatten1996@gmail.com
PGADMIN_DEFAULT_PASSWORD: devpassword
volumes:
- pgadmin:/var/lib/pgadmin/data
ports:
- "8001:80"
logging:
driver: none
redis:
image: 'redis:3.0-alpine'
command: redis-server --requirepass devpassword
volumes:
- 'redis:/var/lib/redis/data'
ports:
- '6379:6379'
website:
build: .
command: >
gunicorn -c "python:config.gunicorn" --reload "canopact.app:create_app()"
env_file:
- '.env'
volumes:
- '.:/canopact'
ports:
- '8000:8000'
celery:
build: .
command: celery worker -l info -A canopact.blueprints.contact.tasks
env_file:
- '.env'
volumes:
- '.:/canopact'
celery_beat:
build: .
command: celery beat -l info -A canopact.blueprints.contact.tasks -S redbeat.RedBeatScheduler
env_file:
- '.env'
volumes:
- '.:/canopact'
volumes:
postgres:
redis:
pgadmin: