-
Notifications
You must be signed in to change notification settings - Fork 0
/
env_template
33 lines (28 loc) · 1.14 KB
/
env_template
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
# PostgreSQL config
POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_PORT=127.0.0.1:5433 # e.g. 5433 to open or 127.0.0.1:5433 for localhost
MAX_CONNECTIONS=100 # default 100
SHARED_BUFFERS=128MB # default 128MB - should be tuned to 15-25% of RAM
WORK_MEM=4MB # default 4MB - tuning: Total RAM * 0.25 / max_connections
MAINTENANCE_WORK_MEM=64MB # default 64MB - tuning: Total RAM *0.05 - should be higher than work_mem
EFFECTIVE_CACHE_SIZE=4GB # default 4GB - tune to 50% of total RAM
# Elasticsearch config
ELASTIC_USER=
ELASTIC_PASSWORD=
ELASTIC_PORT=127.0.0.1:9201 # e.g. 9201 or 127.0.0.1:9201 for localhost
ELASTIC_JVM_OPTS= # e.g. 8g or 1024m
ELASTIC_SECURITY= # lowercase true or false NOTE: now enforced in either dev or prod compose file
ELASTIC_MEM_LIMIT= # e.g. 8g or 1024m
# Geoserver config
GEOSERVER_ADMIN_USER=
GEOSERVER_ADMIN_PASSWORD=
# Redis config
REDIS_PORT= #e.g. 6379 or 127.0.0.1:6379 for localhost
REDIS_USERNAME=
REDIS_PASSWORD=
### PROD ONLY CONFIG
# Server SSL certificates
SSL_CERTIFICATE_FILE= # provide key to certificate
SSL_PRIVATE_KEY_FILE= # provide path to private key
DOMAIN_NAME= # domain e.g. mysite.org.uk or localhost for local dev