infra/fly/gitea/fly.toml
2024-11-10 23:17:39 -07:00

48 lines
974 B
TOML

# fly.toml app configuration file generated for atrigit on 2024-11-09T01:42:12-07:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'atrigit'
primary_region = 'sea'
kill_timeout = '5s'
[build]
image = 'gitea/gitea:latest'
[env]
GITEA__database__DB_TYPE = 'sqlite3'
GITEA__database__PATH = '/data/gitea/gitea.db'
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'
[[mounts]]
source = 'gitea_data'
destination = '/data'
[[services]]
protocol = 'tcp'
internal_port = 22
[[services.ports]]
port = 22
[[services]]
protocol = 'tcp'
internal_port = 3000
[[services.ports]]
port = 80
handlers = ['http']
force_https = true
[[services.ports]]
port = 443
handlers = ['tls', 'http']
[[vm]]
memory = '512mb'
cpu_kind = 'shared'
cpus = 1