fly-apps/gitea/fly.toml

70 lines
1.8 KiB
TOML
Raw Normal View History

2023-07-25 02:46:34 +00:00
# fly.toml app configuration file generated for gitea-mat-services on 2023-07-24T19:00:34-04:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
2022-07-04 21:26:51 +00:00
app = "gitea-mat-services"
2023-07-25 02:46:34 +00:00
primary_region = "ewr"
2022-07-04 21:26:51 +00:00
kill_signal = "SIGINT"
2023-07-25 02:46:34 +00:00
kill_timeout = "5s"
[experimental]
auto_rollback = true
2022-07-04 21:26:51 +00:00
[build]
2023-07-25 02:46:34 +00:00
image = "codeberg.org/forgejo/forgejo:1.20.1-0"
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"
2022-07-04 21:26:51 +00:00
GITEA__database__DB_TYPE = "sqlite3"
GITEA__database__PATH = "/data/gitea/gitea.db"
2023-07-25 02:46:34 +00:00
GITEA__federation__ENABLED = "true"
GITEA__mailer__ENABLED = "false"
GITEA__mailer__FROM = "noreply@git.mat.services"
GITEA__mailer__PROTOCOL = "sendmail"
GITEA__mailer__SUBJECT_PREFIX = "git.mat.services"
GITEA__security__INSTALL_LOCK = "true"
2022-07-04 21:26:51 +00:00
GITEA__server__DOMAIN = "git.mat.services"
GITEA__server__ROOT_URL = "https://git.mat.services"
2023-07-25 02:46:34 +00:00
GITEA__server__SSH_DOMAIN = "git.mat.services"
2022-08-27 02:23:53 +00:00
GITEA__service__DEFAULT_KEEP_EMAIL_PRIVATE = "true"
GITEA__service__DEFAULT_USER_IS_RESTRICTED = "true"
2023-07-25 02:46:34 +00:00
GITEA__service__DISABLE_REGISTRATION = "false"
2022-08-27 02:23:53 +00:00
GITEA__service__REGISTER_EMAIL_CONFIRM = "false"
2023-07-25 02:46:34 +00:00
GITEA__service__REGISTER_MANUAL_CONFIRM = "true"
"GITEA__ui.meta__AUTHOR" = "git.mat.services: Git for us"
GITEA__ui__DEFAULT_THEME = "forgejo-auto"
2022-07-04 21:26:51 +00:00
2023-07-25 02:46:34 +00:00
[[mounts]]
2022-07-04 21:26:51 +00:00
source = "gitea_data"
2023-07-25 02:46:34 +00:00
destination = "/data"
processes = ["app"]
2022-07-04 21:26:51 +00:00
[[services]]
protocol = "tcp"
2023-07-25 02:46:34 +00:00
internal_port = 22
2022-07-04 21:26:51 +00:00
[[services.ports]]
port = 22
2023-07-25 02:46:34 +00:00
[services.concurrency]
type = "connections"
hard_limit = 25
soft_limit = 20
2022-07-04 21:26:51 +00:00
[[services]]
protocol = "tcp"
2023-07-25 02:46:34 +00:00
internal_port = 3000
2022-07-04 21:26:51 +00:00
[[services.ports]]
2023-07-25 02:46:34 +00:00
port = 80
2022-07-04 21:26:51 +00:00
handlers = ["http"]
force_https = true
[[services.ports]]
port = 443
2023-07-25 02:46:34 +00:00
handlers = ["tls", "http"]
[services.concurrency]
type = "connections"
hard_limit = 25
soft_limit = 20