forked from DHI/terracotta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zappa_settings.toml.in
48 lines (41 loc) · 1.03 KB
/
zappa_settings.toml.in
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
[development]
app_function = "terracotta.server.app.app"
aws_region = "eu-central-1"
profile_name = "default"
project_name = "tc-test"
runtime = "python3.9"
s3_bucket = "zappa-teracotta-dev"
exclude = [
"*.gz",
"*.rar",
"boto3*",
"botocore*",
"s3transfer*",
"awscli*",
".mypy_cache",
".pytest_cache",
".eggs"
]
debug = true
log_level = "DEBUG"
xray_tracing = true
touch_path = "/keys"
timeout_seconds = 30
memory_size = 500
[development.aws_environment_variables]
TC_DRIVER_PATH = "s3://tc-testdata/terracotta.sqlite"
TC_DRIVER_PROVIDER = "sqlite-remote"
TC_REPROJECTION_METHOD = "linear"
TC_RESAMPLING_METHOD = "average"
TC_XRAY_PROFILE = "true"
[development.callbacks]
settings = "zappa_settings_callback.check_integrity"
[production]
extends = "development"
# WARNING: using a cache cluster incurs additional costs (not covered by AWS free tier)
cache_cluster_enabled = true
cache_cluster_size = 0.5
cache_cluster_ttl = 3600
debug = false
log_level = "WARNING"
xray_tracing = true