Skip to content

Commit 2bc628e

Browse files
author
afabiani
committed
- Minor environmnet params improvements. Exposing DB connection timeouts to .env
(cherry picked from commit db91148)
1 parent 8f11ecb commit 2bc628e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.env

+6-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ DJANGO_SETTINGS_MODULE=geonode.settings
1414
GEONODE_INSTANCE_NAME=geonode
1515
GEONODE_LB_HOST_IP
1616
GEONODE_LB_PORT
17-
DEFAULT_BACKEND_DATASTORE=datastore
17+
1818

1919
POSTGRES_USER=postgres
2020
POSTGRES_PASSWORD=postgres
@@ -26,9 +26,12 @@ GEONODE_DATABASE_SCHEMA=public
2626
GEONODE_GEODATABASE_SCHEMA=public
2727
DATABASE_URL=postgis://geonode:geonode@db:5432/geonode
2828
GEODATABASE_URL=postgis://geonode_data:geonode_data@db:5432/geonode_data
29-
29+
GEONODE_DB_CONN_MAX_AGE=0
30+
GEONODE_DB_CONN_TOUT=5
31+
DEFAULT_BACKEND_DATASTORE=datastore
32+
BROKER_URL=amqp://guest:guest@rabbitmq:5672/
3033
ASYNC_SIGNALS=True
31-
BROKER_URL=amqp://guest:guest@rabbitmq:5672
34+
3235

3336
SITEURL=http://localhost/
3437

0 commit comments

Comments
 (0)