50 lines
1.0 KiB
TOML
50 lines
1.0 KiB
TOML
# 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]
|
|
GITEA____APP_NAME = "git.mat.services: Gitea for us"
|
|
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
|
|
GITEA__service__DISABLE_REGISTRATION = "true"
|
|
|
|
[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
|
|
|