certat/do-portal

Docker run modifies file in working copy

Opened this issue · 1 comments

Branch devel, 83a0fac

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"
 }

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