44# run in production mode, so there won't be any live-reloading of changes
55# or other development features. For development, we recommend to start
66# the applications invidually or use the run_all_applications scripts.
7- # #
7+ #
88# To build the Docker images:
99# docker-compose build
1010#
1111# To run the applications:
1212# docker-compose up
1313#
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+ #
1420# To shut down the applications, simply terminate the previous command.
1521#
1622
@@ -46,6 +52,9 @@ services:
4652 image : lakesidemutual/customer-management-frontend
4753 depends_on :
4854 - customer-management-backend
55+ environment :
56+ - " REACT_APP_CUSTOMER_SELF_SERVICE_BACKEND=http://localhost:8080"
57+ - " REACT_APP_CUSTOMER_MANAGEMENT_BACKEND=http://localhost:8100"
4958 ports :
5059 - " 3020:80"
5160
@@ -67,6 +76,8 @@ services:
6776 image : lakesidemutual/policy-management-frontend
6877 depends_on :
6978 - policy-management-backend
79+ environment :
80+ - " REACT_APP_POLICY_MANAGEMENT_BACKEND=http://localhost:8090"
7081 ports :
7182 - " 3010:80"
7283
@@ -90,6 +101,10 @@ services:
90101 - customer-self-service-backend
91102 - customer-management-backend
92103 - 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"
93108 ports :
94109 - " 3000:80"
95110
0 commit comments