@@ -9,14 +9,17 @@ BACKUPS_VOLUME_DRIVER=local
9
9
C_FORCE_ROOT = 1
10
10
FORCE_REINIT = false
11
11
12
- DEBUG = False
12
+ # LANGUAGE_CODE=pt
13
+ # LANGUAGES=(('en','English'),('pt','Portuguese'))
13
14
14
15
DJANGO_SETTINGS_MODULE = geonode.settings
15
16
GEONODE_INSTANCE_NAME = geonode
16
17
GEONODE_LB_HOST_IP
17
18
GEONODE_LB_PORT
18
19
19
-
20
+ # #################
21
+ # backend
22
+ # #################
20
23
POSTGRES_USER = postgres
21
24
POSTGRES_PASSWORD = postgres
22
25
GEONODE_DATABASE = geonode
@@ -37,12 +40,9 @@ ASYNC_SIGNALS=True
37
40
38
41
SITEURL = http://localhost/
39
42
40
- STATIC_ROOT = /mnt/volumes/statics/static/
41
- MEDIA_ROOT = /mnt/volumes/statics/uploaded/
42
- GEOIP_PATH = /mnt/volumes/statics/geoip.db
43
-
44
43
ALLOWED_HOSTS = ['django', '*']
45
44
45
+ # Data Uploader
46
46
DEFAULT_BACKEND_UPLOADER = geonode.importer
47
47
TIME_ENABLED = True
48
48
MOSAIC_ENABLED = False
@@ -51,18 +51,6 @@ HAYSTACK_ENGINE_URL=http://elasticsearch:9200/
51
51
HAYSTACK_ENGINE_INDEX_NAME = haystack
52
52
HAYSTACK_SEARCH_RESULTS_PER_PAGE = 200
53
53
54
- CACHE_BUSTING_STATIC_ENABLED = False
55
- CACHE_BUSTING_MEDIA_ENABLED = False
56
-
57
- MEMCACHED_ENABLED = False
58
- MEMCACHED_BACKEND = django.core.cache.backends.memcached.MemcachedCache
59
- MEMCACHED_LOCATION = 127.0.0.1:11211
60
- MEMCACHED_LOCK_EXPIRE = 3600
61
- MEMCACHED_LOCK_TIMEOUT = 10
62
-
63
- MAX_DOCUMENT_SIZE = 2
64
- CLIENT_RESULTS_LIMIT = 5
65
- API_LIMIT_PER_PAGE = 1000
66
54
67
55
# #################
68
56
# nginx
@@ -90,7 +78,9 @@ LETSENCRYPT_MODE=disabled
90
78
91
79
RESOLVER = 127.0.0.11
92
80
93
- # GIS Server
81
+ # #################
82
+ # geoserver
83
+ # #################
94
84
GEOSERVER_WEB_UI_LOCATION = http://localhost/geoserver/
95
85
GEOSERVER_PUBLIC_LOCATION = http://localhost/geoserver/
96
86
GEOSERVER_LOCATION = http://geoserver:8080/geoserver/
@@ -103,29 +93,10 @@ OGC_REQUEST_BACKOFF_FACTOR=0.3
103
93
OGC_REQUEST_POOL_MAXSIZE = 10
104
94
OGC_REQUEST_POOL_CONNECTIONS = 10
105
95
106
- # GIS Client
107
- GEONODE_CLIENT_LAYER_PREVIEW_LIBRARY = mapstore
108
- MAPBOX_ACCESS_TOKEN =
109
- BING_API_KEY =
110
- GOOGLE_API_KEY =
111
-
112
- # Monitoring
113
- MONITORING_ENABLED = True
114
- MONITORING_DATA_TTL = 365
115
- USER_ANALYTICS_ENABLED = True
116
- USER_ANALYTICS_GZIP = True
117
- CENTRALIZED_DASHBOARD_ENABLED = False
118
- MONITORING_SERVICE_NAME = local-geonode
119
- MONITORING_HOST_NAME = geonode
120
-
121
- # Other Options/Contribs
122
- MODIFY_TOPICCATEGORY = True
123
- AVATAR_GRAVATAR_SSL = True
124
- AVATAR_DEFAULT_URL = /geonode/img/avatar.png
125
-
126
- EXIF_ENABLED = True
127
- CREATE_LAYER = True
128
- FAVORITE_ENABLED = True
96
+ # Java Options & Memory
97
+ ENABLE_JSONP = true
98
+ outFormat = text/javascript
99
+ 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
129
100
130
101
# #################
131
102
# Security
@@ -174,6 +145,64 @@ OAUTH2_CLIENT_SECRET=rCnp5txobUo83EpQEblM8fVj3QT5zb5qRfxNsuPzCqZaiRyIoxM4jdgMiZK
174
145
API_LOCKDOWN = False
175
146
TASTYPIE_APIKEY =
176
147
148
+ # #################
149
+ # Production and
150
+ # Monitoring
151
+ # #################
152
+ DEBUG = False
153
+
154
+ SECRET_KEY = ' myv-y4#7j-d*p-__@j#*3z@!y24fz8%^z2v6atuy4bo9vqr1_a'
155
+
156
+ STATIC_ROOT = /mnt/volumes/statics/static/
157
+ MEDIA_ROOT = /mnt/volumes/statics/uploaded/
158
+ GEOIP_PATH = /mnt/volumes/statics/geoip.db
159
+
160
+ CACHE_BUSTING_STATIC_ENABLED = False
161
+ CACHE_BUSTING_MEDIA_ENABLED = False
162
+
163
+ MEMCACHED_ENABLED = False
164
+ MEMCACHED_BACKEND = django.core.cache.backends.memcached.MemcachedCache
165
+ MEMCACHED_LOCATION = 127.0.0.1:11211
166
+ MEMCACHED_LOCK_EXPIRE = 3600
167
+ MEMCACHED_LOCK_TIMEOUT = 10
168
+
169
+ MAX_DOCUMENT_SIZE = 2
170
+ CLIENT_RESULTS_LIMIT = 5
171
+ API_LIMIT_PER_PAGE = 1000
172
+
173
+ # GIS Client
174
+ GEONODE_CLIENT_LAYER_PREVIEW_LIBRARY = mapstore
175
+ MAPBOX_ACCESS_TOKEN =
176
+ BING_API_KEY =
177
+ GOOGLE_API_KEY =
178
+
179
+ # Monitoring
180
+ MONITORING_ENABLED = True
181
+ MONITORING_DATA_TTL = 365
182
+ USER_ANALYTICS_ENABLED = True
183
+ USER_ANALYTICS_GZIP = True
184
+ CENTRALIZED_DASHBOARD_ENABLED = False
185
+ MONITORING_SERVICE_NAME = local-geonode
186
+ MONITORING_HOST_NAME = geonode
187
+
188
+ # Other Options/Contribs
189
+ MODIFY_TOPICCATEGORY = True
190
+ AVATAR_GRAVATAR_SSL = True
191
+ EXIF_ENABLED = True
192
+ CREATE_LAYER = True
193
+ FAVORITE_ENABLED = True
194
+
195
+ # LDAP
196
+ LDAP_ENABLED = False
197
+ LDAP_SERVER_URL = ldap://<the_ldap_server>
198
+ LDAP_BIND_DN = uid=ldapinfo,cn=users,dc=ad,dc=example,dc=org
199
+ LDAP_BIND_PASSWORD = <something_secret>
200
+ LDAP_USER_SEARCH_DN = dc=ad,dc=example,dc=org
201
+ LDAP_USER_SEARCH_FILTERSTR = (&(uid=%(user)s)(objectClass=person))
202
+ LDAP_GROUP_SEARCH_DN = cn=groups,dc=ad,dc=example,dc=org
203
+ LDAP_GROUP_SEARCH_FILTERSTR = (|(cn=abt1)(cn=abt2)(cn=abt3)(cn=abt4)(cn=abt5)(cn=abt6))
204
+ LDAP_GROUP_PROFILE_MEMBER_ATTR = uniqueMember
205
+
177
206
# CELERY
178
207
179
208
# expressed in KB
0 commit comments