improve handling of several environments
This commit is contained in:
parent
0374b173c8
commit
03f0b75d63
@ -31,7 +31,7 @@ services:
|
|||||||
image: 10.5.1.10:5000/dev/map
|
image: 10.5.1.10:5000/dev/map
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./map/config.json:/usr/share/nginx/html/config.json:ro
|
- ./map/config-dev.json:/usr/share/nginx/html/config.json:ro
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ services:
|
|||||||
image: 10.5.1.10:5000/prod/map
|
image: 10.5.1.10:5000/prod/map
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./map/config.json:/usr/share/nginx/html/config.json:ro
|
- ./map/config-prod.json:/usr/share/nginx/html/config.json:ro
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
|
|
||||||
|
3
map/config-dev.json
Normal file
3
map/config-dev.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"API": "http://10.5.1.12:8080/api/v1/client"
|
||||||
|
}
|
3
map/config-prod.json
Normal file
3
map/config-prod.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"API": "http://10.5.1.11:8080/api/v1/client"
|
||||||
|
}
|
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"API": "http://10.1.1.2:8080/api/v1/client"
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user