-
Notifications
You must be signed in to change notification settings - Fork 2
/
carina-compose.yml
51 lines (46 loc) · 971 Bytes
/
carina-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: '2'
services:
postgres:
restart: always
image: postgres:latest
volumes:
- datavolume:/pgdata
environment:
- PGDATA=/pgdata
redis:
restart: always
image: redis:latest
celeryworker:
build: .
command: 'recast-frontend celery --config /configvolume/config.yml'
volumes:
- configvolume:/configvolume
environment:
- C_FORCE_ROOT=yes
links:
- redis
recastfrontend:
build: .
command: 'recast-frontend server --config /configvolume/config.yml'
ports:
- "5000:5000"
volumes:
- configvolume:/configvolume
links:
- postgres
- redis
- api
api:
command: bash -c 'sleep 10 && recast-api server --config /configvolume/config.yml'
build: ../recast-rest-api
volumes:
- configvolume:/configvolume
ports:
- "5001:5000"
links:
- postgres
volumes:
configvolume:
external: true
datavolume:
external: true