forked from GeoNode/geonode
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
585 changed files
with
158,145 additions
and
24,267 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,199 @@ | ||
COMPOSE_PROJECT_NAME=geonode | ||
DOCKER_HOST_IP= | ||
DOCKER_ENV=production | ||
# See https://github.com/geosolutions-it/geonode-generic/issues/28 | ||
# to see why we force API version to 1.24 | ||
DOCKER_API_VERSION="1.24" | ||
BACKUPS_VOLUME_DRIVER=local | ||
|
||
C_FORCE_ROOT=1 | ||
FORCE_REINIT=false | ||
INVOKE_LOG_STDOUT=true | ||
|
||
# LANGUAGE_CODE=pt | ||
# LANGUAGES=(('en','English'),('pt','Portuguese')) | ||
|
||
DJANGO_SETTINGS_MODULE=geonode.settings | ||
GEONODE_INSTANCE_NAME=geonode | ||
GEONODE_LB_HOST_IP= | ||
GEONODE_LB_PORT= | ||
|
||
# ################# | ||
# backend | ||
# ################# | ||
POSTGRES_USER=postgres | ||
POSTGRES_PASSWORD=postgres | ||
GEONODE_DATABASE=geonode | ||
GEONODE_DATABASE_PASSWORD=geonode | ||
GEONODE_GEODATABASE=geonode_data | ||
GEONODE_GEODATABASE_PASSWORD=geonode_data | ||
GEONODE_DATABASE_SCHEMA=public | ||
GEONODE_GEODATABASE_SCHEMA=public | ||
DATABASE_HOST=db | ||
DATABASE_PORT=5432 | ||
DATABASE_URL=postgis://geonode:geonode@db:5432/geonode | ||
GEODATABASE_URL=postgis://geonode_data:geonode_data@db:5432/geonode_data | ||
GEONODE_DB_CONN_MAX_AGE=0 | ||
GEONODE_DB_CONN_TOUT=5 | ||
DEFAULT_BACKEND_DATASTORE=datastore | ||
BROKER_URL=amqp://guest:guest@rabbitmq:5672/ | ||
CELERY_BEAT_SCHEDULER=celery.beat:PersistentScheduler | ||
|
||
SITEURL=http://localhost:8000/ | ||
|
||
ALLOWED_HOSTS="['django', '*']" | ||
|
||
# Data Uploader | ||
DEFAULT_BACKEND_UPLOADER=geonode.importer | ||
TIME_ENABLED=True | ||
MOSAIC_ENABLED=False | ||
HAYSTACK_SEARCH=False | ||
HAYSTACK_ENGINE_URL=http://elasticsearch:9200/ | ||
HAYSTACK_ENGINE_INDEX_NAME=haystack | ||
HAYSTACK_SEARCH_RESULTS_PER_PAGE=200 | ||
|
||
# ################# | ||
# nginx | ||
# HTTPD Server | ||
# ################# | ||
GEONODE_LB_HOST_IP=localhost | ||
GEONODE_LB_PORT=80 | ||
|
||
# IP or domain name and port where the server can be reached on HTTPS (leave HOST empty if you want to use HTTP only) | ||
# port where the server can be reached on HTTPS | ||
HTTP_HOST=localhost | ||
HTTPS_HOST= | ||
|
||
HTTP_PORT=8000 | ||
HTTPS_PORT=443 | ||
|
||
# Let's Encrypt certificates for https encryption. You must have a domain name as HTTPS_HOST (doesn't work | ||
# with an ip) and it must be reachable from the outside. This can be one of the following : | ||
# disabled : we do not get a certificate at all (a placeholder certificate will be used) | ||
# staging : we get staging certificates (are invalid, but allow to test the process completely and have much higher limit rates) | ||
# production : we get a normal certificate (default) | ||
LETSENCRYPT_MODE=disabled | ||
# LETSENCRYPT_MODE=staging | ||
# LETSENCRYPT_MODE=production | ||
|
||
RESOLVER=127.0.0.11 | ||
|
||
# ################# | ||
# geoserver | ||
# ################# | ||
GEOSERVER_WEB_UI_LOCATION=http://localhost/geoserver/ | ||
GEOSERVER_PUBLIC_LOCATION=http://localhost/geoserver/ | ||
GEOSERVER_LOCATION=http://geoserver:8080/geoserver/ | ||
GEOSERVER_ADMIN_USER=admin | ||
GEOSERVER_ADMIN_PASSWORD=geoserver | ||
|
||
OGC_REQUEST_TIMEOUT=30 | ||
OGC_REQUEST_MAX_RETRIES=1 | ||
OGC_REQUEST_BACKOFF_FACTOR=0.3 | ||
OGC_REQUEST_POOL_MAXSIZE=10 | ||
OGC_REQUEST_POOL_CONNECTIONS=10 | ||
|
||
# Java Options & Memory | ||
ENABLE_JSONP=true | ||
outFormat=text/javascript | ||
GEOSERVER_JAVA_OPTS="-Djava.awt.headless=true -Xms2G -Xmx4G -XX:+UnlockDiagnosticVMOptions -XX:+LogVMOutput -XX:LogFile=/var/log/jvm.log -XX:PerfDataSamplingInterval=500 -XX:SoftRefLRUPolicyMSPerMB=36000 -XX:-UseGCOverheadLimit -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -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 -DGEOSERVER_CSRF_DISABLED=true -DPRINT_BASE_URL=http://geoserver:8080/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" | ||
|
||
# ################# | ||
# Security | ||
# ################# | ||
# Admin Settings | ||
# | ||
# ADMIN_PASSWORD is used to overwrite the GeoNode admin password **ONLY** the first time | ||
# GeoNode is run. If you need to overwrite it again, you need to set the env var FORCE_REINIT, | ||
# otherwise the invoke updateadmin task will be skipped and the current password already stored | ||
# in DB will honored. | ||
|
||
ADMIN_USERNAME=admin | ||
ADMIN_PASSWORD=admin | ||
ADMIN_EMAIL=admin@localhost | ||
|
||
# EMAIL Notifications | ||
EMAIL_ENABLE=False | ||
DJANGO_EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend | ||
DJANGO_EMAIL_HOST=localhost | ||
DJANGO_EMAIL_PORT=25 | ||
DJANGO_EMAIL_HOST_USER= | ||
DJANGO_EMAIL_HOST_PASSWORD= | ||
DJANGO_EMAIL_USE_TLS=False | ||
DJANGO_EMAIL_USE_SSL=False | ||
DEFAULT_FROM_EMAIL='GeoNode <no-reply@geonode.org>' | ||
|
||
# Session/Access Control | ||
LOCKDOWN_GEONODE=False | ||
CORS_ORIGIN_ALLOW_ALL=True | ||
X_FRAME_OPTIONS="SAMEORIGIN" | ||
SESSION_EXPIRED_CONTROL_ENABLED=True | ||
DEFAULT_ANONYMOUS_VIEW_PERMISSION=True | ||
DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION=True | ||
|
||
# Users Registration | ||
ACCOUNT_OPEN_SIGNUP=True | ||
ACCOUNT_EMAIL_REQUIRED=True | ||
ACCOUNT_APPROVAL_REQUIRED=False | ||
ACCOUNT_CONFIRM_EMAIL_ON_GET=False | ||
ACCOUNT_EMAIL_VERIFICATION=none | ||
ACCOUNT_EMAIL_CONFIRMATION_EMAIL=False | ||
ACCOUNT_EMAIL_CONFIRMATION_REQUIRED=False | ||
ACCOUNT_AUTHENTICATION_METHOD=username_email | ||
AUTO_ASSIGN_REGISTERED_MEMBERS_TO_REGISTERED_MEMBERS_GROUP_NAME=True | ||
|
||
# OAuth2 | ||
OAUTH2_API_KEY= | ||
OAUTH2_CLIENT_ID=Jrchz2oPY3akmzndmgUTYrs9gczlgoV20YPSvqaV | ||
OAUTH2_CLIENT_SECRET=rCnp5txobUo83EpQEblM8fVj3QT5zb5qRfxNsuPzCqZaiRyIoxM4jdgMiZKFfePBHYXCLd7B8NlkfDBY9HKeIQPcy5Cp08KQNpRHQbjpLItDHv12GvkSeXp6OxaUETv3 | ||
|
||
# GeoNode APIs | ||
API_LOCKDOWN=False | ||
TASTYPIE_APIKEY= | ||
|
||
# ################# | ||
# Production and | ||
# Monitoring | ||
# ################# | ||
DEBUG=True | ||
DEBUG_STATIC=False | ||
|
||
SECRET_KEY='myv-y4#7j-d*p-__@j#*3z@!y24fz8%^z2v6atuy4bo9vqr1_a' | ||
|
||
# STATIC_ROOT=/mnt/volumes/statics/static/ | ||
# MEDIA_ROOT=/mnt/volumes/statics/uploaded/ | ||
# GEOIP_PATH=/mnt/volumes/statics/geoip.db | ||
|
||
CACHE_BUSTING_STATIC_ENABLED=False | ||
|
||
MEMCACHED_ENABLED=False | ||
MEMCACHED_BACKEND=django.core.cache.backends.memcached.MemcachedCache | ||
MEMCACHED_LOCATION=127.0.0.1:11211 | ||
MEMCACHED_LOCK_EXPIRE=3600 | ||
MEMCACHED_LOCK_TIMEOUT=10 | ||
|
||
MAX_DOCUMENT_SIZE=2 | ||
CLIENT_RESULTS_LIMIT=5 | ||
API_LIMIT_PER_PAGE=1000 | ||
|
||
# GIS Client | ||
GEONODE_CLIENT_LAYER_PREVIEW_LIBRARY=mapstore | ||
MAPBOX_ACCESS_TOKEN= | ||
BING_API_KEY= | ||
GOOGLE_API_KEY= | ||
|
||
# Monitoring | ||
MONITORING_ENABLED=True | ||
MONITORING_DATA_TTL=365 | ||
USER_ANALYTICS_ENABLED=True | ||
USER_ANALYTICS_GZIP=True | ||
CENTRALIZED_DASHBOARD_ENABLED=False | ||
MONITORING_SERVICE_NAME=local-geonode | ||
MONITORING_HOST_NAME=geonode | ||
|
||
# Other Options/Contribs | ||
MODIFY_TOPICCATEGORY=True | ||
AVATAR_GRAVATAR_SSL=True | ||
EXIF_ENABLED=True | ||
CREATE_LAYER=True | ||
FAVORITE_ENABLED=True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | ||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.194.0/containers/docker-existing-docker-compose | ||
// If you want to run as a non-root user in the container, see .devcontainer/docker-compose.yml. | ||
{ | ||
"name": "Debug Docker Compose", | ||
|
||
// Update the 'dockerComposeFile' list if you have more compose files or use different names. | ||
// The .devcontainer/docker-compose.yml file contains any overrides you need/want to make. | ||
"dockerComposeFile": [ | ||
"../docker-compose.yml", | ||
"docker-compose.yml" | ||
], | ||
|
||
// The 'service' property is the name of the service for the container that VS Code should | ||
// use. Update this value and .devcontainer/docker-compose.yml to the real service name. | ||
"service": "django", | ||
|
||
// The optional 'workspaceFolder' property is the path VS Code should open by default when | ||
// connected. This is typically a file mount in .devcontainer/docker-compose.yml | ||
"workspaceFolder": "/usr/src/geonode/", | ||
|
||
// Set *default* container specific settings.json values on container create. | ||
"settings": { | ||
"terminal.integrated.profiles.linux": { | ||
"/bin/bash": { | ||
"path": "/bin/bash", | ||
"args": [ | ||
"-l" | ||
] | ||
} | ||
}, | ||
"terminal.integrated.defaultProfile.linux": "/bin/bash" | ||
}, | ||
|
||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [ | ||
"ms-python.python", | ||
"batisteo.vscode-django", | ||
"mrorz.language-gettext", | ||
"eamodio.gitlens", // Note: User preference | ||
"bigonesystems.django" // Note: User preference | ||
], | ||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
"forwardPorts": [ | ||
8000, | ||
8080, | ||
5432, | ||
5678 | ||
], | ||
|
||
// Uncomment the next line if you want start specific services in your Docker Compose config. | ||
// "runServices": [], | ||
|
||
// Uncomment the next line if you want to keep your containers running after VS Code shuts down. | ||
// "shutdownAction": "none", | ||
|
||
// Uncomment the next line to run commands after the container is created - for example installing curl. | ||
// "postCreateCommand": "apt-get update && apt-get install -y curl", | ||
|
||
// Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root. | ||
// "remoteUser": "vscode" | ||
} |
Oops, something went wrong.