-
Notifications
You must be signed in to change notification settings - Fork 14
/
config.env
52 lines (40 loc) · 1.96 KB
/
config.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
# =====================================================================
# Main configuration
# =====================================================================
# [IMPORTANT] Application public endpoint url as it will be displayed in results (WITHOUT TRAILING SLASH !)
ITAG_ENDPOINT=http://localhost:1212
### itag local exosed port
ITAG_EXPOSED_PORT=1212
### Database port for console access (e.g. psql -h ${DATABASE_HOST} -p ${DATABASE_EXPOSED_PORT})
### [IMPORTANT]
### - For external database, this value should be the same as DATABASE_PORT
#ITAG_DATABASE_EXPOSED_PORT=5432
ITAG_DATABASE_EXPOSED_PORT=1213
### [IMPORTANT] Default planet (can be superseeded with query parameter "planet")
ITAG_DEFAULT_PLANET=earth
### [IMPORTANT]
### - If you set DATABASE_HOST to "itagdb" then a local PostgreSQL container will be created (this is the default)
### - If you want to use an existing external (i.e. not on localhost !) PostgreSQL endpoint then provide a valid hostname
### - If you want to use and existing localhost PostgreSQL, then set the value to "host.docker.internal"
###
ITAG_DATABASE_HOST=itagdb
ITAG_DATABASE_PORT=5432
### [IMPORTANT] Usually you should only change the DATABASE_USER_PASSWORD value and leave the other values untouched
ITAG_DATABASE_USER_NAME=itag
ITAG_DATABASE_USER_PASSWORD=itag
ITAG_DATABASE_NAME=itag
# Example for external db
#ITAG_DATABASE_USER_NAME=postgres
#ITAG_DATABASE_USER_PASSWORD=secret
#ITAG_DATABASE_NAME=itag
#ITAG_DATABASE_HOST=pg11.toto.eu-west-1.rds.amazonaws.com
#ITAG_DATABASE_PORT=5432
# Maximum area of input geometry for landCover computation (in square kilometers)
ITAG_LANDCOVER_MAXIMUM_AREA=200000
# True to return intersection geometries in WKT
ITAG_RETURN_GEOMETRIES=false
# Tolerance in degrees applied during geometry simplification (0 means no simplification)
ITAG_SIMPLICATION_TOLERANCE=0.1
# Non public additionnals datasource URLs - contact me ([email protected])
GPW_DATASOURCE_URL=
LANDCOVER_DATASOURCE_URL=