notes. rollup cpature.
This commit is contained in:
31
GEOCoder/GISGraphy-App/docker-compose.yml
Normal file
31
GEOCoder/GISGraphy-App/docker-compose.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
services:
|
||||
gisgraphy:
|
||||
image: gisgraphy/gisgraphyofficial:latest
|
||||
container_name: KNELDevStack-CDS-gisgraphy-server
|
||||
hostname: gisgraphy.local
|
||||
ports:
|
||||
- "${GISGRAPHY_WEB_PORT:-12001}:8080" # Web interface
|
||||
- "${GISGRAPHY_API_PORT:-12002}:8081" # Additional Gisgraphy port if needed
|
||||
environment:
|
||||
- PGPASSWORD=${POSTGRES_PASSWORD:-gisgraphy123}
|
||||
- JAVA_OPTS=-Xmx2g -Xms1g
|
||||
volumes:
|
||||
# Persist PostgreSQL database data
|
||||
- /home/localuser/KNELDevStack-CDS/docker-data/GIS/gisgraphy/postgres-data:/var/lib/postgresql/data
|
||||
# Persist only the data subdirectory (not the entire app directory)
|
||||
- /home/localuser/KNELDevStack-CDS/docker-data/GIS/gisgraphy/gis-data:/usr/local/gisgraphy/data
|
||||
# Persist logs for debugging/monitoring
|
||||
- /home/localuser/KNELDevStack-CDS/docker-data/GIS/gisgraphy/logs:/usr/local/gisgraphy/logs
|
||||
# Persist any downloaded/imported geographical data
|
||||
- /home/localuser/KNELDevStack-CDS/docker-data/GIS/gisgraphy/import-data:/usr/local/gisgraphy/import
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8080/"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 60s
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: gisgraphy-network
|
Reference in New Issue
Block a user