-
Notifications
You must be signed in to change notification settings - Fork 0
/
zappa_settings.json
52 lines (52 loc) · 2.01 KB
/
zappa_settings.json
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
{
"dev": {
"django_settings": "pxapi.settings",
"aws_region": "eu-central-1",
"project_name": "pixels",
"runtime": "python3.8",
"s3_bucket": "zappa-pixels",
"domain": "devpixels.tesselo.com",
"certificate_arn": "arn:aws:acm:us-east-1:595064993071:certificate/3cac1dfe-5915-4325-91fa-a53952cbd2e1",
"log_level": "INFO",
"timeout_seconds": 30,
"memory_size": 768,
"slim_handler": true,
"num_retained_versions": 5,
"debug": false,
"events": [
{
"function": "apps.batch.tasks.scan_active_tasks",
"expression": "rate(6 hours)"
}
],
"environment_variables": {
"AWS_REQUEST_PAYER": "requester",
"AWS_STORAGE_BUCKET_NAME_MEDIA": "pxapi-media-dev",
"AWS_STORAGE_BUCKET_NAME_STATIC": "pxapi-static-dev",
"AWS_DEFAULT_REGION": "eu-west-1",
"DB_HOST": "tesselo-production.ce3mi8diupls.eu-west-1.rds.amazonaws.com",
"DB_USER": "tesselo",
"DB_NAME_PXAPI": "pxapi_dev",
"REQUESTS_CA_BUNDLE": "/var/task/botocore/cacert.pem",
"GDAL_DISABLE_READDIR_ON_OPEN": "YES",
"CPL_VSIL_CURL_ALLOWED_EXTENSIONS": ".tif,.jp2",
"SENTRY_DSN": "https://8e8f178e95bc42b9946506480bd14ba8@o640190.ingest.sentry.io/5760696",
"ENVIRONMENT": "dev"
}
},
"production": {
"log_level": "WARNING",
"extends": "dev",
"domain": "pixels.tesselo.com",
"s3_bucket": "zappa-pixels-production",
"environment_variables": {
"AWS_STORAGE_BUCKET_NAME_MEDIA": "pxapi-media-production",
"AWS_STORAGE_BUCKET_NAME_STATIC": "pxapi-static-production",
"DB_HOST": "tesselo-production.ce3mi8diupls.eu-west-1.rds.amazonaws.com",
"DB_USER": "tesselo",
"DB_NAME_PXAPI": "pxapi",
"SENTRY_DSN": "https://8e8f178e95bc42b9946506480bd14ba8@o640190.ingest.sentry.io/5760696",
"ENVIRONMENT": "production"
}
}
}