-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.example
More file actions
61 lines (53 loc) · 2.27 KB
/
Copy path.env.example
File metadata and controls
61 lines (53 loc) · 2.27 KB
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
# STAC
APP_HOST=0.0.0.0
APP_PORT=8082
EOAPI_STAC_TITILER_ENDPOINT=http://127.0.0.1:8080/raster
EOAPI_STAC_EXTENSIONS='["filter", "query", "sort", "fields", "pagination", "titiler", "transaction"]'
# PG / STAC / VECTOR / RASTER
# DB_MAX_CONN_SIZE need to be at least the same size as WEB_CONCURRENCY
DB_MIN_CONN_SIZE=1
DB_MAX_CONN_SIZE=1
WEB_CONCURRENCY=1
WORKERS_PER_CORE=1
ENVIRONMENT=local
POSTGRES_USER=username
POSTGRES_PASS=password
POSTGRES_DBNAME=postgis
# For stac-fastapi
POSTGRES_HOST_READER=127.0.0.1
POSTGRES_HOST_WRITER=127.0.0.1
POSTGRES_HOST=127.0.0.1
POSTGRES_PORT=5439
# RASTER
AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
CPL_TMPDIR=/tmp
GDAL_CACHEMAX=75%
GDAL_DISABLE_READDIR_ON_OPEN=EMPTY_DIR
GDAL_HTTP_MERGE_CONSECUTIVE_RANGES=YES
GDAL_HTTP_MULTIPLEX=YES
GDAL_HTTP_VERSION=2
PYTHONWARNINGS=ignore
VSI_CACHE=TRUE
VSI_CACHE_SIZE=536870912
MOSAIC_CONCURRENCY=1
EOAPI_RASTER_ENABLE_MOSAIC_SEARCH=TRUE
# STAC Auth Proxy (required for docker compose; reads are public, writes need a bearer token)
# Local dev: use docker-compose.mock-oidc.yml instead of setting these manually.
# EOAPI_AUTH_OIDC_DISCOVERY_URL=http://localhost:8085/.well-known/openid-configuration
# EOAPI_AUTH_OIDC_DISCOVERY_INTERNAL_URL=http://mock-oidc:8888/.well-known/openid-configuration
#
# Production / custom IdP example:
EOAPI_AUTH_OIDC_DISCOVERY_URL=https://cognito-idp.us-east-1.amazonaws.com/<user pool id>/.well-known/openid-configuration
# EOAPI_AUTH_OIDC_DISCOVERY_INTERNAL_URL= # optional; defaults to EOAPI_AUTH_OIDC_DISCOVERY_URL
# STAC Browser OIDC (enables the login button; requires SB_historyMode=history)
# Local dev: docker-compose.mock-oidc.yml sets this automatically.
# SB_authConfig={"type":"openIdConnect","openIdConnectUrl":"https://cognito-idp.us-east-1.amazonaws.com/<user pool id>/.well-known/openid-configuration","oidcConfig":{"client_id":"stac-browser"}}
# STAC Browser (SB_* = upstream runtime config via PR #930; EOAPI_TILE_SERVER_BASE_URL = tile function injection in dockerfiles/scripts/tile-config-entrypoint.sh)
EOAPI_BROWSER_PATH_PREFIX=/browser
EOAPI_STAC_BROWSER_CATALOG_URL=/stac
SB_pathPrefix=/browser
SB_catalogUrl=/stac
SB_catalogTitle=eoAPI STAC Browser
SB_useTileLayerAsFallback=false
EOAPI_TILE_SERVER_BASE_URL=http://127.0.0.1:8080/raster