-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfly.toml
38 lines (31 loc) · 783 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
app = "email-weather"
[build]
# If your Dockerfile has multiple stages, you can specify one as the target for
# deployment. The target stage must have a CMD or ENTRYPOINT set.
build-target = "deploy"
[env]
OPTIONS = """Options(
secrets_dir: "/data-volume/secrets",
data_dir: "/data-volume",
listen_address: "[::]:8080",
base_url: "https://email-weather.fly.dev/",
email_account: "email.weather.service@gmail.com",
)"""
[mounts]
source = "email_weather_data"
destination = "/data-volume"
[[services]]
internal_port = 8080
protocol = "tcp"
[[services.ports]]
handlers = ["http"]
port = "80"
[[services.ports]]
handlers = ["tls", "http"]
port = "443"
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
port = "8080"
restart_limit = 0
timeout = "2s"