File tree 1 file changed +47
-0
lines changed
1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : ' 2'
2
+ services :
3
+ postgres :
4
+ restart : always
5
+ image : postgres:latest
6
+ volumes :
7
+ - /home/recast/frontenddata:/pgdata
8
+ environment :
9
+ - PGDATA=/pgdata
10
+ ports :
11
+ - 5432:5432
12
+
13
+ redis :
14
+ restart : always
15
+ image : redis:latest
16
+
17
+ celeryworker :
18
+ image : recastfrontend
19
+ command : ' recast-frontend celery --config /configvolume/config.yml'
20
+ volumes :
21
+ - /home/recast/frontendconfig:/configvolume
22
+ environment :
23
+ - C_FORCE_ROOT=yes
24
+ links :
25
+ - redis
26
+
27
+ recastfrontend :
28
+ image : recastfrontend
29
+ command : ' recast-frontend server --config /configvolume/config.yml'
30
+ ports :
31
+ - " 80:5000"
32
+ volumes :
33
+ - /home/recast/frontendconfig:/configvolume
34
+ links :
35
+ - postgres
36
+ - redis
37
+ - api
38
+
39
+ api :
40
+ command : bash -c 'sleep 10 && recast-api server --config /configvolume/config.yml'
41
+ image : recastrestapi
42
+ volumes :
43
+ - /home/recast/frontendconfig:/configvolume
44
+ ports :
45
+ - " 81:5000"
46
+ links :
47
+ - postgres
You can’t perform that action at this time.
0 commit comments