38 lines
701 B
TOML
38 lines
701 B
TOML
# fly.toml app configuration file generated for tamako on 2023-04-23T20:17:40+02:00
|
|
#
|
|
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
|
#
|
|
|
|
app = "tamako"
|
|
primary_region = "lhr"
|
|
|
|
[checks.alive]
|
|
port = "8715"
|
|
grace_period = "5s"
|
|
interval = "15s"
|
|
timeout = "2s"
|
|
type = "tcp"
|
|
|
|
[env]
|
|
TAMAKO_HOST = "0.0.0.0"
|
|
TAMAKO_PORT = "8715"
|
|
# DATABASE_URL = "sqlite:/app/data/whispers.db"
|
|
|
|
[mounts]
|
|
source = "data"
|
|
destination = "/app/data"
|
|
|
|
[[services]]
|
|
auto_start_machines = true
|
|
auto_stop_machines = true
|
|
internal_port = 8715
|
|
protocol = "tcp"
|
|
force_https = true
|
|
|
|
[[services.ports]]
|
|
handlers = ["http"]
|
|
port = 80
|
|
|
|
[[services.ports]]
|
|
handlers = ["tls", "http"]
|
|
port = 443
|