Create fly.toml

This commit is contained in:
2025-09-10 23:48:06 -07:00
committed by GitHub
parent ac07358ed3
commit 3622897cae

29
fly.toml Normal file
View File

@@ -0,0 +1,29 @@
app = "git-pr"
primary_region = "iad"
[build]
dockerfile = "Dockerfile"
[env]
GITEA__server__DOMAIN = "git-pr.fly.dev"
GITEA__server__ROOT_URL = "https://git-pr.fly.dev/"
GITEA__mailer__ENABLED = "true"
GITEA__mailer__HOST = "${SMTP_HOST}"
GITEA__mailer__USER = "${SMTP_USER}"
GITEA__mailer__PASSWD = "${SMTP_PASSWD}"
GITEA__mailer__FROM = "${SMTP_FROM}"
[[mounts]]
source = "gitea_data"
destination = "/data"
[[services]]
internal_port = 8080
processes = ["app"]
protocol = "tcp"
[[services.ports]]
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443