File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ services:
5
5
image : postgres:15-alpine
6
6
ports :
7
7
- " 5432:5432"
8
+ restart : always
8
9
volumes :
9
10
- postgres_data:/var/lib/postgresql/data/
10
11
env_file :
@@ -14,13 +15,15 @@ services:
14
15
image : redis:latest
15
16
ports :
16
17
- " 6379:6379"
18
+ restart : always
17
19
18
20
web :
19
21
image : ananyo2012/junction:1.1
20
22
volumes :
21
23
- .:/code
22
24
ports :
23
25
- " ${SERVER_PORT}:${SERVER_PORT}"
26
+ restart : always
24
27
depends_on :
25
28
- db
26
29
env_file :
@@ -33,6 +36,7 @@ services:
33
36
- db
34
37
- redis
35
38
- web
39
+ restart : always
36
40
env_file :
37
41
- .env
38
42
command : sh -c 'celery -A junction worker -l info -E'
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ services:
5
5
image : postgres:15-alpine
6
6
ports :
7
7
- " 5432:5432"
8
+ restart : always
8
9
volumes :
9
10
- postgres_data:/var/lib/postgresql/data/
10
11
env_file :
@@ -14,6 +15,7 @@ services:
14
15
image : redis:latest
15
16
ports :
16
17
- " 6379:6379"
18
+ restart : always
17
19
18
20
web :
19
21
build :
@@ -24,6 +26,7 @@ services:
24
26
- .:/code
25
27
ports :
26
28
- " ${SERVER_PORT}:${SERVER_PORT}"
29
+ restart : always
27
30
depends_on :
28
31
- db
29
32
env_file :
@@ -36,6 +39,7 @@ services:
36
39
- db
37
40
- redis
38
41
- web
42
+ restart : always
39
43
env_file :
40
44
- .env
41
45
command : sh -c 'celery -A junction worker -l info -E'
You can’t perform that action at this time.
0 commit comments