ForgeFlux/config/default.toml
Aravinth Manivannan 31b062c296
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
feat&chore: cleanup webfinger endpoint and use util fn for uniform URL generation
2024-06-01 17:05:44 +05:30

47 lines
1.4 KiB
TOML

debug = true
source_code = "https://git.batsense.net/ForgeFlux/ForgeFlux"
allow_registration = true
[server]
# Please set a unique value, your mCaptcha instance's security depends on this being
# unique
#cookie_secret = "Zae0OOxf^bOJ#zN^&k7VozgW&QAx%n02TQFXpRMG4cCU0xMzgu3dna@tQ9dvc&TlE6p*n#kXUdLZJCQsuODIV%r$@o4%770ePQB7m#dpV!optk01NpY0@615w5e2Br4d"
# The port at which you want authentication to listen to
# takes a number, choose from 1000-10000 if you dont know what you are doing
port = 7000
#IP address. Enter 0.0.0.0 to listen on all available addresses
ip= "0.0.0.0"
# enter your hostname, eg: example.com
domain = "localhost:7000"
public_url_has_https = false
#cookie_secret = ""
[database]
# This section deals with the database location and how to access it
# Please note that at the moment, we have support for only postgresqa.
# Example, if you are Batman, your config would be:
# url = "postgres://batman:password@batcave.org:5432/batcave"
# database_type = "postgres"
# pool = 4
url = "postgres://example.org" # hack for tests to run successfully
pool = 4
[forges.forgejo]
client_id = "foo"
client_secret = "bar"
url = "http://example.org"
[forges.forgejo.user]
username = "forgeflux_user"
api_token = "foo"
[forges.github]
client_id = "foo"
client_secret = "bar"
url = "https://github.com"
api_url = "https://api.github.com"
[forges.github.user]
username = "forgeflux_user"
personal_access_token = "foo"