-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (42 loc) · 844 Bytes
/
docker-compose.yml
File metadata and controls
47 lines (42 loc) · 844 Bytes
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
recastfrontend:
build: .
ports:
- "5000:5000"
environment:
- RECAST_DBPATH=postgresql://postgres:postgres@postgres:5432/postgres
volumes:
- ./recastfrontend:/recast-newfrontend/recastfrontend
- ./config.yaml:/recast-newfrontend/recastfrontend/resources/defaultconfig.yaml
links:
- postgres
- redis
- api
api:
image: cbora/recastrestapi:0.1
volumes:
- ./config.yaml:/recast-rest-api/recastrestapi/resources/defaultconfig.yaml
ports:
- "6000:5000"
links:
- postgres
data:
image: postgres:latest
volumes:
- /var/lib/postgresql
command: "true"
postgres:
restart: always
image: postgres:latest
volumes_from:
- data
ports:
- "5432:5432"
redis:
restart: always
image: redis:latest
ports:
- "6379:6379"
#es:
# image: elasticsearch
# ports:
# - "9200:9200"