fly-apps/gitea/fly.toml

62 lines
1.6 KiB
TOML

# fly.toml file generated for gitea-mat-services on 2022-07-02T22:14:05-04:00
app = "gitea-mat-services"
kill_signal = "SIGINT"
kill_timeout = 5
[build]
image = "codeberg.org/forgejo/forgejo:1.19.1-0"
[env]
GITEA____APP_NAME = "git.mat.services: Git for us"
GITEA__ui__DEFAULT_THEME = "forgejo-auto"
"GITEA__ui.meta__AUTHOR" = "git.mat.services: Git for us"
GITEA__database__DB_TYPE = "sqlite3"
GITEA__database__PATH = "/data/gitea/gitea.db"
GITEA__server__DOMAIN = "git.mat.services"
GITEA__server__SSH_DOMAIN = "git.mat.services"
GITEA__server__ROOT_URL = "https://git.mat.services"
GITEA__security__INSTALL_LOCK = "true" # Don't show installer
GITEA__federation__ENABLED = "true"
GITEA__service__DISABLE_REGISTRATION = "false"
GITEA__service__REGISTER_MANUAL_CONFIRM = "true"
GITEA__service__DEFAULT_KEEP_EMAIL_PRIVATE = "true"
GITEA__service__DEFAULT_USER_IS_RESTRICTED = "true"
# sendmail isnt working in the fly vm
GITEA__service__REGISTER_EMAIL_CONFIRM = "false"
GITEA__mailer__ENABLED = "false"
GITEA__mailer__PROTOCOL = "sendmail"
GITEA__mailer__FROM = "noreply@git.mat.services"
GITEA__mailer__SUBJECT_PREFIX = "git.mat.services"
[experimental]
allowed_public_ports = []
auto_rollback = true
[mounts]
destination = "/data"
source = "gitea_data"
# ssh traffic
[[services]]
internal_port = 22
protocol = "tcp"
[[services.ports]]
port = 22
# https traffic
[[services]]
internal_port = 3000
protocol = "tcp"
[[services.ports]]
handlers = ["http"]
force_https = true
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443