chore: support local GeoServer development

This commit is contained in:
2026-07-20 00:26:24 +01:00
parent c0686d0c5a
commit 440ee6cc9a
2 changed files with 5 additions and 3 deletions
+4 -2
View File
@@ -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
View File
@@ -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"