Mariadb & Seafile successfully using new Bottin

This commit is contained in:
Alex 2020-02-02 14:06:09 +01:00
parent ecbae866e1
commit c8d29bf3dd
4 changed files with 4 additions and 3 deletions

View file

@ -2,6 +2,7 @@
"suffix": "dc=deuxfleurs,dc=fr", "suffix": "dc=deuxfleurs,dc=fr",
"bind": "0.0.0.0:1389", "bind": "0.0.0.0:1389",
"consul_host": "http://consul.service.2.cluster.deuxfleurs.fr:8500", "consul_host": "http://consul.service.2.cluster.deuxfleurs.fr:8500",
"log_level": "debug",
"acl": [ "acl": [
"*,dc=deuxfleurs,dc=fr::read:*:* !userpassword", "*,dc=deuxfleurs,dc=fr::read:*:* !userpassword",
"*::read modify:SELF:*", "*::read modify:SELF:*",

View file

@ -1,4 +1,4 @@
LDAP_URI = "ldap://bottin.service.2.cluster.deuxfleurs.fr" LDAP_URI = "ldap://bottin2.service.2.cluster.deuxfleurs.fr"
LDAP_BASE = "ou=users,dc=deuxfleurs,dc=fr" LDAP_BASE = "ou=users,dc=deuxfleurs,dc=fr"
LDAP_VERSION = 3 LDAP_VERSION = 3
LDAP_BIND_DN = "{{ key "secrets/mariadb/main/ldap_binddn" | trimSpace }}" LDAP_BIND_DN = "{{ key "secrets/mariadb/main/ldap_binddn" | trimSpace }}"

View file

@ -11,7 +11,7 @@ PORT = 10001
PORT = 13418 PORT = 13418
[LDAP] [LDAP]
HOST = ldap://bottin.service.2.cluster.deuxfleurs.fr/ HOST = ldap://bottin2.service.2.cluster.deuxfleurs.fr/
BASE = ou=users,dc=deuxfleurs,dc=fr BASE = ou=users,dc=deuxfleurs,dc=fr
USER_DN = cn=<to be defined>,dc=deuxfleurs,dc=fr USER_DN = cn=<to be defined>,dc=deuxfleurs,dc=fr
FILTER = memberOf=CN=seafile,OU=groups,DC=deuxfleurs,DC=fr FILTER = memberOf=CN=seafile,OU=groups,DC=deuxfleurs,DC=fr

View file

@ -12,7 +12,7 @@ job "directory2" {
task "server" { task "server" {
driver = "docker" driver = "docker"
config { config {
image = "lxpz/bottin_amd64:3" image = "lxpz/bottin_amd64:6"
readonly_rootfs = true readonly_rootfs = true
port_map { port_map {
ldap_port = 1389 ldap_port = 1389