forked from sde1000/quicktill-tillweb
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
57 lines (51 loc) · 1.04 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
52
53
54
55
56
57
services:
app:
build:
context: "./"
image: "emftillweb-dev-app"
networks:
- emftillweb
depends_on:
- postgres
volumes:
- .:/app
ports:
- "8000:8000"
scssbuilder:
image: "emftillweb-dev-app"
volumes:
- .:/app
command: ./manage.py sass emf/static/emf/scss/ emf/static/emf/css/ --watch
postgres:
build:
context: "./docker/data/"
networks:
- emftillweb
redis:
image: "redis:7.0-alpine"
networks:
- emftillweb
command: ["sh", "-c", "rm -f /data/dump.rdb && redis-server --save ''"]
till2redis:
depends_on:
- postgres
- redis
image: "emftillweb-dev-app"
networks:
- emftillweb
volumes:
- .:/app
command: ./manage.py till2redis --redis-host=redis
redis2websocket:
depends_on:
- redis
image: "emftillweb-dev-app"
networks:
- emftillweb
volumes:
- .:/app
command: ./manage.py redis2websocket --redis-host=redis
ports:
- "8001:8001"
networks:
emftillweb: