forked from microsoft/planetary-computer-apis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pc-stac.dev.env
72 lines (61 loc) · 2.03 KB
/
pc-stac.dev.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
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}