Docker Environmental variables¶
This list reports the specific environmental variables requried for the configuration and execution of GeoNode Docker services
Geoserver¶
- DATABASE_HOST
- Default:
dbInternal IP or hostname for the PosgreSQL (
db) Docker container. - DATABASE_PORT
- Default:
djangoInternal port for the PosgreSQL (
db) Docker container. - GEONODE_LB_HOST_IP
- Default:
djangoInternal IP or hostname for the GeoNode (
django) Docker container. - GEONODE_LB_PORT
- Default:
8000Internal port for the GeoNode (
django) Docker container. - GEONODE_GEODATABSE
- Default:
geonode_dataGeoNode geodatabase name.
- GEONODE_GEODATABASE_USER
- Default:
geonode_dataGeoNode geodatabase user.
- GEONODE_GEODATABASE_PASSWORD
- Default:
geonode_dataGeoNode geodatabase password.
- GEONODE_GEODATABASE_SCHEMA
- Default:
publixGeoNode geodatabase schema.
- GEOSERVER_JAVA_OPTS
- Default:
'-Djava.awt.headless=true -Xms4G -Xmx4G -Dgwc.context.suffix=gwc -XX:+UnlockDiagnosticVMOptions -XX:+LogVMOutput -XX:LogFile=/var/log/jvm.log -XX:PerfDataSamplingInterval=500 -XX:SoftRefLRUPolicyMSPerMB=36000 -XX:-UseGCOverheadLimit -XX:ParallelGCThreads=4 -Dfile.encoding=UTF8 -Djavax.servlet.request.encoding=UTF-8 -Djavax.servlet.response.encoding=UTF-8 -Duser.timezone=GMT -Dorg.geotools.shapefile.datetime=false -DGS-SHAPEFILE-CHARSET=UTF-8 -DGEOSERVER_CSRF_DISABLED=true -DPRINT_BASE_URL={geoserver_ui}/geoserver/pdf -DALLOW_ENV_PARAMETRIZATION=true -Xbootclasspath/a:/usr/local/tomcat/webapps/geoserver/WEB-INF/lib/marlin-0.9.3-Unsafe.jar -Dsun.java2d.renderer=org.marlin.pisces.MarlinRenderingEngine'Geoserver JAVA OPTS.
- GEOSERVER_LB_HOST_IP
- Default:
geoserverInternal IP or hostname for the GeoNode (
geoserver) Docker container. - GEOSERVER_LB_PORT
- Default:
8080Internal port for the GeoNode (
geoserver) Docker container. - NGINX_BASE_URL
- Default:
http(s):/localhostPublic URL of the
nginxservice. This value must match GeoNodes’sSITEURLsetting - OAUTH2_API_KEY
- Default:
(empty)Optionsl API Key for the communication between Geoserver and GeoNode Oauth2 services.
- OAUTH2_CLIENT_ID
- Default:
(empty)Geoserer Client ID for GeoNode Oauth2 server. Cannot be empty.
- OAUTH2_CLIENT_SECRET
- Default:
(empty)Geoserer Client secret for GeoNode Oauth2 server. Cannot be empty.
Nginx¶
- GEONODE_LB_HOST_IP
- Default:
djangoInternal IP or hostname for the GeoNode (
django) Docker container. - GEONODE_LB_PORT
- Default:
8000Internal port for the GeoNode (
django) Docker container. - GEOSERVER_LB_HOST_IP
- Default:
geoserverInternal IP or hostname for the GeoNode (
geoserver) Docker container. - GEOSERVER_LB_PORT
- Default:
8080Internal port for the GeoNode (
geoserver) Docker container. - HTTPS_HOST
- Default:
localhostThe publis hostname for HTTPS (wihtout
http:/scheme prefix). - HTTPS_HOST
- Default:
localhostThe publis hostname for HTTPS (wihtout
https:/scheme prefix). - HTTP_PORT
- Default:
80Host port on which to expose the Nginx service for HTTP.
- HTTPS_PORT
- Default:
443Host port on which to expose the Nginx service for HTTPS.
- LETSENCRYPT_MODE
- Default:
disabledPossible values:
disabled(SSL disabled),staging(SSL local cert),production(SSL released by an ACME server)
PostgreSQL / PostGIS¶
- GEONODE_DATABASE
- Default:
geonodeGeoNode database name.
- GEONODE_DATABASE_USER
- Default:
geonode_dataGeoNode database user.
- GEONODE_DATABASE_PASSWORD
- Default:
geonode_dataGeoNode database password.
- GEONODE_GEODATABSE
- Default:
geonode_dataGeoNode geodatabase name.
- GEONODE_GEODATABASE_USER
- Default:
geonode_dataGeoNode geodatabase user.
- GEONODE_GEODATABASE_PASSWORD
- Default:
geonode_dataGeoNode geodatabase password.
- POSTGRES_USER
- Default:
geonode_dataPostgreSQL admin user.
- POSTGRES_USER
- Default:
geonode_dataPostgreSQL admin password.