4
4
# run in production mode, so there won't be any live-reloading of changes
5
5
# or other development features. For development, we recommend to start
6
6
# the applications invidually or use the run_all_applications scripts.
7
- # #
7
+ #
8
8
# To build the Docker images:
9
9
# docker-compose build
10
10
#
11
11
# To run the applications:
12
12
# docker-compose up
13
13
#
14
+ # Note that you might have to adjust the REACT_APP_ and VUE_APP environment
15
+ # variables pointing to the backend services, depending on your hosting
16
+ # environment. By default, they point to localhost, which is fine when running
17
+ # the services locally. In a cloud deployment, these should be changed to the
18
+ # public domainname of the respective backend service.
19
+ #
14
20
# To shut down the applications, simply terminate the previous command.
15
21
#
16
22
@@ -46,6 +52,9 @@ services:
46
52
image : lakesidemutual/customer-management-frontend
47
53
depends_on :
48
54
- customer-management-backend
55
+ environment :
56
+ - " REACT_APP_CUSTOMER_SELF_SERVICE_BACKEND=http://localhost:8080"
57
+ - " REACT_APP_CUSTOMER_MANAGEMENT_BACKEND=http://localhost:8100"
49
58
ports :
50
59
- " 3020:80"
51
60
@@ -67,6 +76,8 @@ services:
67
76
image : lakesidemutual/policy-management-frontend
68
77
depends_on :
69
78
- policy-management-backend
79
+ environment :
80
+ - " REACT_APP_POLICY_MANAGEMENT_BACKEND=http://localhost:8090"
70
81
ports :
71
82
- " 3010:80"
72
83
@@ -90,6 +101,10 @@ services:
90
101
- customer-self-service-backend
91
102
- customer-management-backend
92
103
- policy-management-backend
104
+ environment :
105
+ - " REACT_APP_CUSTOMER_SELF_SERVICE_BACKEND=http://localhost:8080"
106
+ - " REACT_APP_POLICY_MANAGEMENT_BACKEND=http://localhost:8090"
107
+ - " REACT_APP_CUSTOMER_MANAGEMENT_BACKEND=http://localhost:8100"
93
108
ports :
94
109
- " 3000:80"
95
110
0 commit comments