git-next/crates/server/server-default.toml
Paul Campbell 58b047cdb5
All checks were successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
WIP: feat: configure a webhook for receiving notifications
2024-07-19 07:48:55 +01:00

25 lines
726 B
TOML

[http]
addr = "0.0.0.0"
port = 8080
[webhook]
url = "https://localhost:8080" # don't include any query path or a trailing slash
[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