certat / do-portal

This project is in maintenance mode and will only receive bug fixes, but no new features. A new version of this software is being developed.
5 stars 5 forks source link

Docker run modifies file in working copy #118

Open ghost opened 4 years ago

ghost commented 4 years ago

Branch devel, 83a0facdf8cda3570bd2a03ff6d1acf3184c44a8

Running docker (docker-compose up) causes the following changes in the local git repo:

diff --git a/frontend/config/envs/devel.json b/frontend/config/envs/devel.json
index 0e11a0f..c4f5aff 100644
--- a/frontend/config/envs/devel.json
+++ b/frontend/config/envs/devel.json
@@ -1,5 +1,5 @@
 {
   "version": "0.7.0",
-  "webServiceUrl": "http://127.0.0.1:8000/cp/1.0",
-  "authUrl": "http://127.0.0.1:8000/auth"
+  "webServiceUrl": "http://portal-backend:8081/cp/1.0",
+  "authUrl": "http://portal-backend:8081/auth"
 }
diff --git a/frontend/config/envs/production.json b/frontend/config/envs/production.json
index 6b48e81..c4f5aff 100644
--- a/frontend/config/envs/production.json
+++ b/frontend/config/envs/production.json
@@ -1,5 +1,5 @@
 {
-  "version": "0.6.5",
-  "webServiceUrl": "/api/1.0",
-  "authUrl": "/auth"
+  "version": "0.7.0",
+  "webServiceUrl": "http://portal-backend:8081/cp/1.0",
+  "authUrl": "http://portal-backend:8081/auth"
 }
davewood commented 4 years ago

yes, the directory is mounted into the docker container and the config is set up for the docker environment to work.