planetary-computer-apis/pc-stac.dev.env

73 строки
2.0 KiB
Bash
Исходник Обычный вид История

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
# PgSTAC API hydration
USE_API_HYDRATE=TRUE
# Azure Storage
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
APP_INSIGHTS_INSTRUMENTATION_KEY=${APP_INSIGHTS_INSTRUMENTATION_KEY}