diff --git a/flydotio/forgejo.toml b/flydotio/forgejo.toml new file mode 100644 index 0000000..65fafb3 --- /dev/null +++ b/flydotio/forgejo.toml @@ -0,0 +1,74 @@ +# fly.toml app configuration file generated for atri-git on 2024-10-28T16:23:20-06:00 +# +# See https://fly.io/docs/reference/configuration/ for information about how to use this file. +# + +app = 'atri-git' +primary_region = 'sea' +kill_signal = 'SIGINT' +kill_timeout = '5s' + +[experimental] + auto_rollback = true + +[build] + image = 'codeberg.org/forgejo/forgejo:8' + +[env] + GITEA____APP_NAME = "Atri's Code Forge" + GITEA__database__DB_TYPE = 'sqlite3' + GITEA__database__PATH = '/data/gitea/gitea.db' + GITEA__federation__ENABLED = 'true' + GITEA__mailer__ENABLED = 'false' + GITEA__mailer__FROM = 'noreply@atri.dad' + GITEA__mailer__PROTOCOL = 'sendmail' + GITEA__mailer__SUBJECT_PREFIX = 'git.atri.dad' + GITEA__security__INSTALL_LOCK = 'true' + GITEA__server__DOMAIN = 'git.atri.dad' + GITEA__server__ROOT_URL = 'https://git.atri.dad' + GITEA__server__SSH_DOMAIN = 'git.atri.dad' + GITEA__service__DEFAULT_KEEP_EMAIL_PRIVATE = 'true' + GITEA__service__DEFAULT_USER_IS_RESTRICTED = 'true' + GITEA__service__DISABLE_REGISTRATION = 'false' + GITEA__service__REGISTER_EMAIL_CONFIRM = 'false' + GITEA__service__REGISTER_MANUAL_CONFIRM = 'true' + 'GITEA__ui.meta__AUTHOR' = "Atri's Code Forge" + GITEA__ui__DEFAULT_THEME = 'forgejo-auto' + +[[mounts]] + source = 'gitea_data' + destination = '/data' + processes = ['app'] + +[[services]] + protocol = 'tcp' + internal_port = 22 + + [[services.ports]] + port = 22 + + [services.concurrency] + type = 'connections' + hard_limit = 25 + soft_limit = 20 + +[[services]] + protocol = 'tcp' + internal_port = 3000 + + [[services.ports]] + port = 80 + handlers = ['http'] + force_https = true + + [[services.ports]] + port = 443 + handlers = ['tls', 'http'] + + [services.concurrency] + type = 'connections' + hard_limit = 25 + soft_limit = 20 + +[[vm]] + size = 'shared-cpu-1x'