add example config file

This commit is contained in:
leah 2022-01-26 19:01:03 +00:00
parent da5a3f53dc
commit 667161d876
3 changed files with 19 additions and 0 deletions

14
config.example.yml Normal file
View File

@ -0,0 +1,14 @@
server:
name: "south london"
homepage: "https://southlondon.cc"
admin:
# webroot: "/admin" # Set this if you're running the admin panel on using a
# custom path instead of a subdomain.
# e.g. southlondon.cc/admin instead of admin.southlondon.cc
auth:
gitea-url: "https://tildegit.org"
authorized-users:
- lp0

2
go.mod
View File

@ -1,3 +1,5 @@
module tildegit.org/southlondon/admin
go 1.17
require gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect

3
go.sum Normal file
View File

@ -0,0 +1,3 @@
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=