-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.env.example
90 lines (77 loc) · 2.87 KB
/
.env.example
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
# Just setting this will set the docker compose project prefix
# If you change this name you need to also change references to the
# compose project name in nginx confs and perhaps other places
COMPOSE_PROJECT_NAME=osgisstack
DOMAIN=example.org
# Timezone in TZ database name format
# See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
TIMEZONE=Etc/UTC
# POSTGREST
PGRST_SERVER_PROXY_URI=https://example.org/api
PGRST_DB_ANON_ROLE=anon
PGRST_DB_SCHEMA=api
PGRST_OPENAPI_SERVER_PROXY_URI=https://example.org/api
PGRST_SERVER_PORT=3000
# Generate using ssl e.g.
# openssl rand -base64 32
PGRST_JWT_SECRET=foobarxxxyyyzzz
# SWAGGER
API_URL=https://example.org/api/
# POSTGRES
POSTGRES_USER=docker
POSTGRES_PASSWORD=docker
# Disabled on public by default
POSTGRES_PUBLIC_PORT=5432
POSTGRES_PRIVATE_PORT=5432
# GEOSERVER
GEOSERVER_ADMIN_PASSWORD=myawesomegeoserver
GEOSERVER_ADMIN_USER=admin
INITIAL_MEMORY=2G
MAXIMUM_MEMORY=4G
# IMPOSM
DBSCHEMA_PRODUCTION=osm
# MERGIN DB SYNC
# Typically your email
MERGIN_DATABASE=mergin_database
MERGIN_USER=mergin_username
MERGIN_PASSWORD=mergin_password
# Should be username/project name
MERGIN_PROJECT_NAME=mergin_username/mergin_project
# Should be a geopackage in your mergin project
MERGIN_SYNC_FILE=mergin_project_geopackage.gpkg
DB_SCHEMA_MODIFIED=schematoreceivemergindata
DB_SCHEMA_BASE=mergin_sync_base_do_not_touch
MERGIN_URL="https://public.cloudmergin.com"
# MERGIN SERVER
MERGIN_SERVER_VERSION=2021.6.1
MERGIN_SERVER_SECRET_KEY=REPLACE_MERGIN_SERVER_SECRET_KEY
MERGIN_SERVER_SECURITY_PASSWORD_SALT=REPLACE_MERGIN_SERVER_SECURITY_PASSWORD_SALT
MERGIN_SERVER_USER_SELF_REGISTRATION=0
MERGIN_SERVER_USE_X_ACCEL=0
MERGIN_SERVER_GEODIFF_LOGGER_LEVEL=2
MERGIN_SERVER_MERGIN_TESTING=0
MERGIN_SERVER_MAX_CHUNK_SIZE=10485760 # 10 MB
MERGIN_SERVER_TEMP_EXPIRATION=7
MERGIN_SERVER_DELETED_PROJECT_EXPIRATION=7
MERGIN_SERVER_CLOSED_ACCOUNT_EXPIRATION=1
MERGIN_SERVER_DEFAULT_STORAGE_SIZE=104857600 # 100 MB
MERGIN_SERVER_MAIL_SUPPRESS_SEND=0 # set to 0 in production
MERGIN_SERVER_MAIL_SERVER=REPLACE_MERGIN_SERVER_MAIL_SERVER
MERGIN_SERVER_MAIL_DEFAULT_SENDER=REPLACE_MERGIN_SERVER_MAIL_DEFAULT_SENDER
MERGIN_SERVER_MAIL_USERNAME=REPLACE_MERGIN_SERVER_MAIL_DEFAULT_SENDER
# for email templates
MERGIN_SERVER_MERGIN_BASE_URL=REPLACE_MERGIN_SERVER_MERGIN_BASE_URL
MERGIN_SERVER_MERGIN_LOGO_URL=REPLACE_MERGIN_SERVER_MERGIN_LOGO_URL
# Currently uses CONTACT_EMAIL in compose rather
MERGIN_SERVER_CONTACT_EMAIL=REPLACE_MERGIN_SERVER_CONTACT_EMAIL
EMAIL_PASSWORD=REPLACE_EMAIL_PASSWORD
MERGIN_SERVER_SLACK_HOOK_URL=REPLACE_MERGIN_SERVER_CONTACT_EMAIL
#OSM
DBSCHEMA_PRODUCTION=osm
# Survey solution
HQ_URL=https://osgs.kartoza.com/survey/
HQ_CONN='Server=db;Port=5432;User Id=docker;Password=XXXXXXXXXX;Database=surveysolutions;SslMode=Require;trustServerCertificate=true'
# File Browser
FILEBROWSER_USER=admin
FILEBROWSER_PASSWORD=admin