fix: isolated local dev environment
Some checks reported warnings
Cadoles/goweb-oidc/pipeline/head This commit was not built
Some checks reported warnings
Cadoles/goweb-oidc/pipeline/head This commit was not built
This commit is contained in:
3
misc/compose/glauth/Dockerfile
Normal file
3
misc/compose/glauth/Dockerfile
Normal file
@ -0,0 +1,3 @@
|
||||
FROM glauth/glauth:v2.1.0
|
||||
|
||||
COPY glauth.cfg /app/config/config.cfg
|
37
misc/compose/glauth/glauth.cfg
Normal file
37
misc/compose/glauth/glauth.cfg
Normal file
@ -0,0 +1,37 @@
|
||||
debug = true
|
||||
|
||||
[ldap]
|
||||
enabled = true
|
||||
listen = "0.0.0.0:389"
|
||||
|
||||
[ldaps]
|
||||
enabled = false
|
||||
|
||||
[backend]
|
||||
datastore = "config"
|
||||
baseDN = "dc=example,dc=com"
|
||||
|
||||
[[users]]
|
||||
name = "admin"
|
||||
mail = "admin@localhost"
|
||||
uidnumber = 5001
|
||||
primarygroup = 5501
|
||||
passsha256 = "8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918" # admin
|
||||
[[users.capabilities]]
|
||||
action = "search"
|
||||
object = "*"
|
||||
[[users.customattributes]]
|
||||
objectClass = [ "inetOrgPerson" ]
|
||||
|
||||
[[users]]
|
||||
name = "jdoe"
|
||||
mail = "jdoe@localhost"
|
||||
uidnumber = 5006
|
||||
primarygroup = 5501
|
||||
passsha256 = "d30a5f57532a603697ccbb51558fa02ccadd74a0c499fcf9d45b33863ee1582f" # jdoe
|
||||
[[users.customattributes]]
|
||||
objectClass = [ "inetOrgPerson" ]
|
||||
|
||||
[[groups]]
|
||||
name = "webapps"
|
||||
gidnumber = 5501
|
Reference in New Issue
Block a user