-
Notifications
You must be signed in to change notification settings - Fork 8
/
sample.env
95 lines (71 loc) · 2.52 KB
/
sample.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
## General Project Settings
COMPOSE_PROJECT_NAME="geonode_docker"
# (optional) URL with trailing slash
DOCKER_REGISTRY=
# (optional) with trailing slash e.g. sample/ or orga/
DOCKER_REPOSITORY=my-geonode/
GEONODE_BASE_IMAGE_VERSION="4.4.1"
NGINX_BASE_IMAGE_VERSION="1.25.3-v2"
GEOSERVER_BASE_IMAGE_VERSION="2.24.4-v1"
GEOSERVER_DATA_BASE_IMAGE_VERSION="2.24.4-v1"
POSTGRES_BASE_IMAGE_VERSION="15.3-v1"
PROJECT_VERSION="v1"
# set to 'true' to re-initialize setup
FORCE_REINIT=false
INVOKE_LOG_STDOUT=True
## External Site Settings
SITE_HOST_NAME="localhost"
SITEURL="https://${SITE_HOST_NAME}/"
ALLOWED_HOSTS="['*']"
CORS_ALLOWED_ORIGINS="[
'https://localhost',
'https://localhost:8081'
]"
GEONODE_LB_HOST_IP="django"
GEONODE_LB_PORT="8000"
## Database Settings
DATABASE_HOST="db"
DATABASE_PORT="5432"
POSTGRES_USER="postgres"
POSTGRES_PASSWORD="postgres"
POSTGRES_MAX_CONNECTIONS="200"
## GeoNode Database Settings
GEONODE_DATABASE="geonode"
GEONODE_DATABASE_PASSWORD="geonode"
DATABASE_URL="postgis://${GEONODE_DATABASE}:${GEONODE_DATABASE_PASSWORD}@${DATABASE_HOST}:${DATABASE_PORT}/${GEONODE_DATABASE}"
## Geo-Database Settings
GEONODE_GEODATABASE="geonode_data"
GEONODE_GEODATABASE_PASSWORD="geonode_data"
GEONODE_GEODATABASE_SCHEMA="public"
GEODATABASE_URL="postgis://${GEONODE_GEODATABASE}:${GEONODE_GEODATABASE_PASSWORD}@${DATABASE_HOST}:${DATABASE_PORT}/${GEONODE_GEODATABASE}"
DEFAULT_BACKEND_DATASTORE="datastore"
## GeoServer
GEOSERVER_PUBLIC_LOCATION="${SITEURL}geoserver/"
GEOSERVER_WEB_UI_LOCATION="${GEOSERVER_PUBLIC_LOCATION}"
GEOSERVER_ADMIN_PASSWORD="geoserver"
## Internal Network Settings
GEOSERVER_LOCATION="http://geoserver:8080/geoserver/"
# Adminstrator Settings
ADMIN_EMAIL="admin@localhost"
ADMIN_PASSWORD="admin"
# OAuth2
OAUTH2_API_KEY=""
# Generate a custom value (restart GeoServer once)
# openssl rand -hex 40 | cut -c -40
OAUTH2_CLIENT_ID="Jrchz2oPY3akmzndmgUTYrs9gczlgoV20YPSvqaV"
# Generate a custom value
# openssl rand -hex 128 | cut -c -128
OAUTH2_CLIENT_SECRET="rCnp5txobUo83EpQEblM8fVj3QT5zb5qRfxNsuPzCqZaiRyIoxM4jdgMiZKFfePBHYXCLd7B8NlkfDBY9HKeIQPcy5Cp08KQNpRHQbjpLItDHv12GvkSeXp6OxaUETv3"
# Account Registration Settings
ACCOUNT_OPEN_SIGNUP="False"
ACCOUNT_APPROVAL_REQUIRED="False"
ACCOUNT_AUTHENTICATION_METHOD="username_email"
ACCOUNT_CONFIRM_EMAIL_ON_GET="False"
ACCOUNT_EMAIL_REQUIRED="True"
ACCOUNT_EMAIL_VERIFICATION="none"
# Upload Settings
DEFAULT_MAX_UPLOAD_SIZE="1073741824" # 1GB
DEFAULT_MAX_PARALLEL_UPLOADS_PER_USER="5"
# Disabled services
MONITORING_ENABLED="False"
MEMCACHED_ENABLED="False"