File tree 2 files changed +5
-7
lines changed
2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -13,20 +13,21 @@ services:
13
13
networks :
14
14
- spring-mysql
15
15
backend :
16
- build : backend
17
- target : development
16
+ build :
17
+ context : backend
18
+ target : development
18
19
environment :
19
20
MYSQL_HOST : db
20
21
networks :
21
22
- react-spring
22
23
- spring-mysql
23
24
depends_on :
24
25
- db
26
+ restart : on-failure:5
25
27
frontend :
26
28
build :
27
29
context : frontend
28
30
target : development
29
- entrypoint : " "
30
31
ports :
31
32
- 3000:3000
32
33
networks :
Original file line number Diff line number Diff line change @@ -23,16 +23,13 @@ services:
23
23
- spring-mysql
24
24
depends_on :
25
25
- db
26
+ restart : on-failure:5
26
27
frontend :
27
28
build :
28
29
context : frontend
29
30
target : development
30
31
ports :
31
32
- 3000:3000
32
- volumes :
33
- - ./frontend/src:/code/src
34
- - ./frontend/public:/code/public
35
- - /project/node_modules
36
33
networks :
37
34
- react-spring
38
35
depends_on :
You can’t perform that action at this time.
0 commit comments