2022-05-11 19:33:50 +03:00
|
|
|
APP_ROOT_PATH=/stac
|
|
|
|
APP_HOST=0.0.0.0
|
|
|
|
APP_PORT=8081
|
|
|
|
FORWARDED_ALLOW_IPS=*
|
|
|
|
ENVIRONMENT=local
|
|
|
|
PCAPIS_DEBUG=TRUE
|
|
|
|
TILER_HREF=http://localhost:8080/data/
|
|
|
|
DB_MIN_CONN_SIZE=1
|
|
|
|
DB_MAX_CONN_SIZE=1
|
|
|
|
WEB_CONCURRENCY=1
|
|
|
|
|
2022-05-14 04:16:41 +03:00
|
|
|
# PgSTAC API hydration
|
|
|
|
USE_API_HYDRATE=TRUE
|
|
|
|
|
2022-05-11 19:33:50 +03:00
|
|
|
# Azure Storage
|
2024-08-13 20:36:10 +03:00
|
|
|
AZURITE_ACCOUNT_KEY=${AZURITE_ACCOUNT_KEY}
|
2022-05-11 19:33:50 +03:00
|
|
|
PCAPIS_COLLECTION_CONFIG__ACCOUNT_URL=http://azurite:10002/devstoreaccount1
|
|
|
|
PCAPIS_COLLECTION_CONFIG__ACCOUNT_NAME=devstoreaccount1
|
|
|
|
PCAPIS_COLLECTION_CONFIG__TABLE_NAME=collectionconfig
|
|
|
|
|
|
|
|
PCAPIS_CONTAINER_CONFIG__ACCOUNT_URL=http://azurite:10002/devstoreaccount1
|
|
|
|
PCAPIS_CONTAINER_CONFIG__ACCOUNT_NAME=devstoreaccount1
|
|
|
|
PCAPIS_CONTAINER_CONFIG__TABLE_NAME=containerconfig
|
|
|
|
|
|
|
|
PCAPIS_IP_EXCEPTION_CONFIG__ACCOUNT_URL=http://azurite:10002/devstoreaccount1
|
|
|
|
PCAPIS_IP_EXCEPTION_CONFIG__ACCOUNT_NAME=devstoreaccount1
|
|
|
|
PCAPIS_IP_EXCEPTION_CONFIG__TABLE_NAME=ipexceptionlist
|
|
|
|
|
|
|
|
# Disable config and stac caching in development by setting TTL to 1 second
|
|
|
|
PCAPIS_TABLE_VALUE_TTL=1
|
|
|
|
PCAPIS_REDIS_TTL=1
|
|
|
|
|
|
|
|
# Redis
|
|
|
|
PCAPIS_REDIS_HOSTNAME=redis
|
|
|
|
PCAPIS_REDIS_PASSWORD=devcache
|
|
|
|
PCAPIS_REDIS_PORT=6380
|
|
|
|
PCAPIS_REDIS_SSL=FALSE
|
|
|
|
|
|
|
|
# Rate limit
|
|
|
|
PCAPIS_RATE_LIMITS__COLLECTIONS=10
|
|
|
|
PCAPIS_RATE_LIMITS__COLLECTION=10
|
|
|
|
PCAPIS_RATE_LIMITS__ITEMS=10
|
|
|
|
PCAPIS_RATE_LIMITS__ITEM=10
|
|
|
|
PCAPIS_RATE_LIMITS__SEARCH=10
|
|
|
|
|
|
|
|
# Backpressure
|
|
|
|
PCAPIS_BACK_PRESSURES__COLLECTIONS__REQ_PER_SEC=100
|
|
|
|
PCAPIS_BACK_PRESSURES__COLLECTIONS__INC_MS=10
|
|
|
|
PCAPIS_BACK_PRESSURES__COLLECTION__REQ_PER_SEC=100
|
|
|
|
PCAPIS_BACK_PRESSURES__COLLECTION__INC_MS=10
|
|
|
|
PCAPIS_BACK_PRESSURES__ITEMS__REQ_PER_SEC=100
|
|
|
|
PCAPIS_BACK_PRESSURES__ITEMS__INC_MS=10
|
|
|
|
PCAPIS_BACK_PRESSURES__ITEM__REQ_PER_SEC=100
|
|
|
|
PCAPIS_BACK_PRESSURES__ITEM__INC_MS=10
|
|
|
|
PCAPIS_BACK_PRESSURES__SEARCH__REQ_PER_SEC=100
|
|
|
|
PCAPIS_BACK_PRESSURES__SEARCH__INC_MS=10
|
|
|
|
|
|
|
|
# Used by pgstac backend
|
|
|
|
POSTGRES_USER=username
|
|
|
|
POSTGRES_PASS=password
|
|
|
|
POSTGRES_DBNAME=postgis
|
|
|
|
POSTGRES_HOST_READER=database
|
|
|
|
POSTGRES_HOST_WRITER=database
|
|
|
|
POSTGRES_PORT=5432
|
|
|
|
|
|
|
|
# Used by pypgstac migrate
|
|
|
|
PGUSER=username
|
|
|
|
PGPASSWORD=password
|
|
|
|
PGHOST=database
|
|
|
|
PGDATABASE=postgis
|
|
|
|
|
|
|
|
# Used for logging and metrics
|
2022-05-14 04:16:41 +03:00
|
|
|
APP_INSIGHTS_INSTRUMENTATION_KEY=${APP_INSIGHTS_INSTRUMENTATION_KEY}
|