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]
|
|
|
|
image = "gitea/gitea:latest"
|
|
|
|
|
|
|
|
[env]
|
2022-07-05 04:07:50 +00:00
|
|
|
GITEA____APP_NAME = "git.mat.services: Gitea for us"
|
2022-08-27 02:23:53 +00:00
|
|
|
"GITEA__ui.meta__AUTHOR" = "git.mat.services: Gitea 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
|
|
|
|
|