mirror of
https://github.com/multipleof4/git.planetrenox.com.git
synced 2026-01-13 16:07:55 +00:00
Create fly.toml
This commit is contained in:
29
fly.toml
Normal file
29
fly.toml
Normal 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
|
||||
Reference in New Issue
Block a user