File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,30 @@ services:
36
36
restart : always
37
37
ports :
38
38
- 80:80
39
+ depends_on :
40
+ users-service :
41
+ condition : service_started
42
+ web-service :
43
+ condition : service_started
44
+ links :
45
+ - users-service
46
+ - web-service
47
+
48
+
49
+ web-service :
50
+ container_name : web-service
51
+ build :
52
+ context : https://github.com/repodevs/flask-microservices-client.git
53
+ args :
54
+ - NODE_ENV=production
55
+ - REACT_APP_USERS_SERVICE_URL=${REACT_APP_USERS_SERVICE_URL}
56
+ ports :
57
+ - ' 9000:9000' # expose ports - HOST:CONTAINER
58
+ environment :
59
+ - NODE_ENV=development
60
+ - REACT_APP_USERS_SERVICE_URL=${REACT_APP_USERS_SERVICE_URL}
39
61
depends_on :
40
62
users-service :
41
63
condition : service_started
42
64
links :
43
- - users-service
65
+ - users-service
You can’t perform that action at this time.
0 commit comments