-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.sample
74 lines (64 loc) · 1.96 KB
/
.env.sample
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
######### DATABASE ENV BEGIN #########
CMS_DB_USER=
CMS_DB_NAME=
CMS_DB_PASSWORD=
CMS_DB_VOLUME=./climweb/db-data
######### DATABASE ENV END #########
######### CMS ENV BEGIN #########
#CHECK LATEST RELEASE AT https://github.com/wmo-raf/nmhs-cms/releases
CLIMWEB_VERSION=0.8.88
CMS_DEBUG=False
CMS_SITE_NAME=
CMS_ADMIN_URL_PATH=cms-admin
TIME_ZONE=UTC
SECRET_KEY="" # SHOULD NOT BE LESS THAN 50 characters. Mix numbers and letters and symbols
ALLOWED_HOSTS="<ip_or_domain>," # UPDATE ME
CSRF_TRUSTED_ORIGINS="http://<ip_or_domain>" # UPDATE ME
CMS_PORT=80
CMS_BASE_URL="http://<ip_or_domain>" # UPDATE ME
# default language. available codes are:
# en for English, default if not set
# fr for French
# ar for Arabic
# am for Amharic
# es for Spanish
# sw for Swahili
CMS_DEFAULT_LANGUAGE_CODE="en"
#BACKUP MECHANISM
BACKUP_VOLUME=./climweb/backup
# Geomanager auto-ingest data directory
GEOMANAGER_AUTO_INGEST_DATA_VOLUME=./climweb/geomanager-data
# CMS Email settings
SMTP_EMAIL_HOST=
SMTP_EMAIL_PORT=
SMTP_EMAIL_USE_TLS=
SMTP_EMAIL_HOST_USER=
SMTP_EMAIL_HOST_PASSWORD=
CMS_ADMINS=
DEFAULT_FROM_EMAIL=
# Google Recaptcha settings for forms
RECAPTCHA_PUBLIC_KEY=
RECAPTCHA_PRIVATE_KEY=
RECAPTCHA_DOMAIN=www.google.com
RECAPTCHA_VERIFY_REQUEST_TIMEOUT=60
# num of workers recommended as (2 x $num_cores) + 1. See https://docs.gunicorn.org/en/latest/design.html#how-many-workers
CMS_NUM_OF_WORKERS=4
# docker volumes for django static and media files
CMS_STATIC_VOLUME=./climweb/static
CMS_MEDIA_VOLUME=./climweb/media
CMS_UPGRADE_HOOK_URL=
LETSENCRYPT_VOLUME=
CAP_PRIVATE_KEY_PATH=
CAP_CERT_PATH=
CAP_SIGNATURE_METHOD="ECDSA_SHA256"
######### CMS ENV END #########
######### MAPVIEWER ENV BEGIN #########
MAPVIEWER_CMS_API="http://<ip_or_domain>/api" # UPDATE ME
MAPVIEWER_BASE_PATH=""
MAPVIEWER_ASSET_PREFIX=""
ANALYTICS_PROPERTY_ID=""
BITLY_TOKEN=""
GOOGLE_CUSTOM_SEARCH_CX=""
GOOGLE_SEARCH_API_KEY=""
MAPVIEWER_NEXT_STATIC_VOLUME=./mapviewer/.next/static
######### MAPVIEWER ENV END #########