syui 3 months ago
commit e8b8eda806
Signed by: syui
GPG Key ID: 67AC97A939D3EA19

@ -0,0 +1,41 @@
app = "gi"
kill_timeout = 5
[build]
image = "gitea/gitea:latest" # latest is the most recent stable release
[env]
GITEA__database__DB_TYPE="sqlite3"
GITEA__database__PATH="/data/gitea/gitea.db"
GITEA__server__DOMAIN="git.syui.cf"
GITEA__server__SSH_DOMAIN="git.syui.cf"
GITEA__server__ROOT_URL="https://git.syui.cf"
GITEA__security__INSTALL_LOCK="true" # Don't show installer
GITEA__service__DISABLE_REGISTRATION="true" # TODO: uncomment once you have created your first user
# persist data
[[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
Loading…
Cancel
Save