forked from sci-wms/sci-wms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (41 loc) · 954 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
47
version: '3.2'
services:
redis:
image: redis
db:
image: postgres:10.3
environment:
POSTGRES_USER: sciwms
POSTGRES_PASSWORD: sciwms
POSTGRES_DB: sciwms
volumes:
- dbdata:/var/lib/postgresql/data
web:
image: axiom/sci-wms
environment:
SCIWMS_USERNAME: sciwms
SCIWMS_PASSWORD: sciwms
WEB_CONCURRENCY: 16
DJANGO_SETTINGS_MODULE: sciwms.settings.adv
DJANGO_SECRET_KEY: abcdefg
ports:
- "7002:7002"
depends_on:
- db
- redis
volumes:
- topologydata:/srv/sci-wms/wms/topology:ro
command: docker/wait.sh db:5432 -- docker/run.sh
worker:
image: axiom/sci-wms
environment:
DJANGO_SETTINGS_MODULE: sciwms.settings.adv
depends_on:
- db
- redis
volumes:
- topologydata:/srv/sci-wms/wms/topology
command: docker/wait.sh web:7002 -- python manage.py run_huey
volumes:
dbdata:
topologydata: