-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
52 lines (48 loc) · 1.11 KB
/
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
47
48
49
50
51
version: "3"
services:
couchdb-node:
image: couchdb:2.2.0
environment:
- NODENAME=couchdb-node
- COUCHDB_USER=admin
- COUCHDB_PASSWORD=admin
ulimits:
nofile:
soft: 1024
hard: 1024
ports:
- "127.0.0.1:5984:5984"
volumes:
- /docker_volumes/couchdb_data:/opt/couchdb/data
redis-node:
image: redis:5.0.0-stretch
ports:
- "127.0.0.1:6379:6379"
volumes:
- /docker_volumes/redis_data:/data
app:
volumes:
- ./app:/app
- /docker_volumes/static_uploads:/app/upload_app/static/uploads/
build: .
ports:
- "127.0.0.1:8080:80"
- "127.0.0.1:8085:5000"
- "127.0.0.1:8000:8000"
image: upload_app
command: ["/app/run.sh"]
nginx:
build: nginx
image: nginx
ports:
- "80:80"
- "443:443"
volumes:
- /docker_volumes/nginx_html:/usr/share/nginx/html
celery:
volumes:
- ./app:/app
- /docker_volumes/static_uploads:/app/upload_app/static/uploads/
build: .
image: upload_app
command: "celery worker -A upload_app.upload_app.celery --loglevel=info"