From 3622897cae0f3e7b96cca6dd45ea43084d24462e Mon Sep 17 00:00:00 2001 From: multipleof4 Date: Wed, 10 Sep 2025 23:48:06 -0700 Subject: [PATCH] Create fly.toml --- fly.toml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 fly.toml diff --git a/fly.toml b/fly.toml new file mode 100644 index 0000000..17a3320 --- /dev/null +++ b/fly.toml @@ -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