chore: support local GeoServer development
This commit is contained in:
+4
-2
@@ -7,9 +7,11 @@ services:
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
PORT: ${APP_PORT:-4173}
|
||||
WMS_ENDPOINT: ${WMS_ENDPOINT:-https://xpro-viz.jfig.net/geoserver/xpro/wms}
|
||||
ALLOWED_WMS_ENDPOINTS: ${ALLOWED_WMS_ENDPOINTS:-https://xpro-viz.jfig.net/geoserver/xpro/wms}
|
||||
WMS_ENDPOINT: ${DOCKER_WMS_ENDPOINT:-${WMS_ENDPOINT:-https://xpro-viz.jfig.net/geoserver/xpro/wms}}
|
||||
ALLOWED_WMS_ENDPOINTS: ${DOCKER_ALLOWED_WMS_ENDPOINTS:-${ALLOWED_WMS_ENDPOINTS:-https://xpro-viz.jfig.net/geoserver/xpro/wms}}
|
||||
GEOSERVER_USERNAME: ${GEOSERVER_USERNAME:-admin}
|
||||
GEOSERVER_PASSWORD: ${GEOSERVER_PASSWORD}
|
||||
ports:
|
||||
- "${APP_PORT:-4173}:${APP_PORT:-4173}"
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"start": "node server.js"
|
||||
"start": "node --env-file-if-exists=.env server.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"ol": "10.6.1"
|
||||
|
||||
Reference in New Issue
Block a user