forked from hotosm/tasking-manager
-
Notifications
You must be signed in to change notification settings - Fork 2
/
example.env
81 lines (61 loc) · 2.33 KB
/
example.env
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
# Tasking Manager configuration file
#
#
# Copy to `example.env` and adjust to make it work!
#
# The base url the application is reachable (required)
#
TM_APP_BASE_URL=http://127.0.0.1:5000
# The connection to the postgres database (required)
#
POSTGRES_DB=tasking-manager
POSTGRES_USER=tm
POSTGRES_PASSWORD=tm
# POSTGRES_ENDPOINT=localhost
# POSTGRES_PORT=5432
# Secret (required)
#
# A freely definable secret. Gives authorization to the front- and and back-end
# to talk to each other.
#
TM_SECRET=s0m3l0ngr4nd0mstr1ng-b3cr34tiv3&h4v3fun
# OpenStreetMap OAuth consumer key and secret (required)
#
TM_CONSUMER_KEY=foo
TM_CONSUMER_SECRET=s0m3l0ngr4nd0mstr1ng-b3cr34tiv3&h4v3fun
# The default tag used in the OSM changeset comment (optional)
#
# TM_DEFAULT_CHANGESET_COMMENT="#tm-project"
# The address to use as the sender on auto generated emails (optional)
#
# TM_EMAIL_FROM_ADDRESS=noreply@localhost
# Email sending server configuration (optional)
# This is required in order to send out messages.
#
# TM_SMTP_HOST=
# TM_SMTP_PORT=25
# TM_SMTP_USER=
# TM_SMTP_PASSWORD=
# Logging settings (optional)
# (e.g. ERROR, DEBUG, etc.)
# If not specified DEBUG is default. ERROR is a good value for a live site.
#
# TM_LOG_LEVEL=DEBUG
# TM_LOG_DIR=logs
# Languages offered by the Tasking Manager (optional)
# Please note that there must be exactly the same number of Codes as languages.
#
# TM_SUPPORTED_LANGUAGES_CODES='ar, cs, da, de, en, es, fa_IR, fi, fr, hu, gl, id, it, ja, ko, lt, mg, nb, nl_NL, pl, pt, pt_BR, ru, si, sl, ta, uk, vi, zh_TW'
# TM_SUPPORTED_LANGUAGES='Arabic, Česky, Dansk, Deutsch, English, Español, Persian (Iran), Suomi, Français, Magyar, Galician, Indonesia, Italiano, 日本語, 한국어, Lietuvos, Malagasy, Bokmål, Nederlands, Polish, Português, Português (Brasil), Русский, සිංහල, Slovenščina, தமிழ், Українська, tiếng Việt, 中文'
# Time to wait until task auto-unlock (optional)
# (e.g. '2h' or '7d' or '30m' or '1h30m')
#
# TM_TASK_AUTOUNLOCK_AFTER=2h
# Mapper Level values represent number of OSM changesets (optional)
#
# TM_MAPPER_LEVEL_INTERMEDIATE=250
# TM_MAPPER_LEVEL_ADVANCED=500
# This is where additional project files are stored. Defaults to a temporary directory.
# PROJECT_FILES_DIR=/tmp
# This is for API keys for imagery services
# MAPILLARY_API_KEY=RANDOMAPIKEY