add example config file
This commit is contained in:
parent
da5a3f53dc
commit
667161d876
14
config.example.yml
Normal file
14
config.example.yml
Normal 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
2
go.mod
|
@ -1,3 +1,5 @@
|
||||||
module tildegit.org/southlondon/admin
|
module tildegit.org/southlondon/admin
|
||||||
|
|
||||||
go 1.17
|
go 1.17
|
||||||
|
|
||||||
|
require gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
|
||||||
|
|
3
go.sum
Normal file
3
go.sum
Normal 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=
|
Reference in New Issue
Block a user