git-next/crates/server/server-default.toml

26 lines
726 B
TOML
Raw Normal View History

[http]
addr = "0.0.0.0"
port = 8080
[webhook]
2024-06-01 11:15:04 +01:00
url = "https://localhost:8080" # don't include any query path or a trailing slash
2024-04-23 07:09:30 +01:00
[storage]
path = "./data"
[notifications]
type = "WebHook"
webhook = { url = "https://localhost:9090" }
[forge]
[forge.default]
forge_type = "ForgeJo"
hostname = "git.example.net"
user = "git-next" # the user to perform actions as
token = "API-Token"
[forge.default.repos]
hello = { repo = "user/hello", branch = "main", gitdir = "/opt/git/projects/user/hello.git" } # maps to https://git.example.net/user/hello on the branch 'main'
world = { repo = "user/world", branch = "master", main = "master", next = "upcoming", "dev" = "develop" } # maps to the 'master' branch