-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfly.toml
40 lines (32 loc) · 965 Bytes
/
fly.toml
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
# fly.toml app configuration file generated for wafflehacks-mailer on 2023-04-20T10:56:59-07:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "wafflehacks-mailer"
primary_region = "yyz"
[build]
image = "us-central1-docker.pkg.dev/wafflehacks-production/internal/mailer:sha-SHORT_SHA"
[deploy]
strategy = "rolling"
[env]
MAILER_ADDRESS = "0.0.0.0:8000"
MAILER_LOG_LEVEL = "info"
MAILER_DEVELOPMENT = "no"
MAILER_PROVIDERS = "ses"
MAILER_PROVIDER_SES_TYPE = "ses"
MAILER_PROVIDER_SES_WORKERS = "2"
MAILER_PROVIDER_SES_MATCHES = "@wafflehacks.org"
MAILER_ENABLE_TRACING = "yes"
OTEL_SERVICE_NAME = "mailer"
OTEL_EXPORTER_OTLP_ENDPOINT = "https://api.honeycomb.io:443"
[checks]
[checks.alive]
type = "http"
port = 8000
method = "get"
path = "/health"
protocol = "http"
grace_period = "10s"
interval = "15s"
restart_limit = 0
timeout = "3s"