2022-07-04 21:26:51 +00:00
|
|
|
# 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]
|
2022-12-20 02:55:57 +00:00
|
|
|
image = "codeberg.org/forgejo/forgejo:latest"
|
2022-07-04 21:26:51 +00:00
|
|
|
|
|
|
|
[env]
|
2022-12-20 02:55:57 +00:00
|
|
|
GITEA____APP_NAME = "git.mat.services: Git for us"
|
|
|
|
"GITEA__ui.meta__AUTHOR" = "git.mat.services: Git for us"
|
2022-07-04 21:26:51 +00:00
|
|
|
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
|
2022-08-27 02:23:53 +00:00
|
|
|
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"
|
2022-07-04 21:26:51 +00:00
|
|
|
|
|
|
|
[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
|
|
|
|
|