diff --git a/containers/lldap.fish b/containers/lldap.fish new file mode 100755 index 0000000..5b047cf --- /dev/null +++ b/containers/lldap.fish @@ -0,0 +1,11 @@ +#!/usr/bin/env fish + +set -l container_name lldap +set -l container_volumes_dir ~/volumes/$container_name + +podman-default-create \ + $container_name \ + --net traefik \ + -v $container_volumes_dir/data:/data:Z \ + --label "io.containers.autoupdate=registry" \ + docker.io/nitnelave/lldap:stable diff --git a/volumes/traefik/dynamic.yml b/volumes/traefik/dynamic.yml index 414c8ab..c47b7db 100644 --- a/volumes/traefik/dynamic.yml +++ b/volumes/traefik/dynamic.yml @@ -88,6 +88,9 @@ http: to_ihatemoney: rule: Host(`ihatemoney.mo8it.com`) service: ihatemoney + to_lldap: + rule: Host(`ldap.mo8it.com`) + service: lldap services: nginx: @@ -130,3 +133,7 @@ http: loadBalancer: servers: - url: http://ihatemoney + lldap: + loadBalancer: + servers: + - url: http://lldap:17170