migrate lldap to docker #238
2 changed files with 19 additions and 14 deletions
|
@ -6,7 +6,7 @@ services:
|
||||||
pull_policy: missing
|
pull_policy: missing
|
||||||
ports:
|
ports:
|
||||||
- "3890:3890"
|
- "3890:3890"
|
||||||
# - "17170:17170" # front-end; ueber traefik
|
- "17170:17170" # front-end; ueber traefik # auskommentieren wenn fertig
|
||||||
volumes:
|
volumes:
|
||||||
- "lldap_data:/data"
|
- "lldap_data:/data"
|
||||||
- "./lldap_config.toml:/data/lldap_config.toml"
|
- "./lldap_config.toml:/data/lldap_config.toml"
|
||||||
|
@ -16,15 +16,15 @@ services:
|
||||||
- traefik
|
- traefik
|
||||||
- postfix
|
- postfix
|
||||||
- internal
|
- internal
|
||||||
labels:
|
# labels:
|
||||||
traefik.enable: true
|
# traefik.enable: true
|
||||||
traefik.http.routers.lldap.service: lldap
|
# traefik.http.routers.lldap.service: lldap
|
||||||
traefik.http.routers.lldap.priority: "10"
|
# traefik.http.routers.lldap.priority: "10"
|
||||||
traefik.http.routers.lldap.rule: Host(`ldap.mgrote.net`)
|
# traefik.http.routers.lldap.rule: Host(`ldap.mgrote.net`)
|
||||||
traefik.http.routers.lldap.tls: true
|
# traefik.http.routers.lldap.tls: true
|
||||||
traefik.http.routers.lldap.tls.certresolver: resolver_letsencrypt
|
# traefik.http.routers.lldap.tls.certresolver: resolver_letsencrypt
|
||||||
traefik.http.routers.lldap.entrypoints: entry_https
|
# traefik.http.routers.lldap.entrypoints: entry_https
|
||||||
traefik.http.services.lldap.loadbalancer.server.port: 17170
|
# traefik.http.services.lldap.loadbalancer.server.port: 17170
|
||||||
#healthcheck: # https://github.com/lldap/lldap/issues/18389
|
#healthcheck: # https://github.com/lldap/lldap/issues/18389
|
||||||
# test: ["CMD", "mc", "ready", "local"]
|
# test: ["CMD", "mc", "ready", "local"]
|
||||||
# interval: 5s
|
# interval: 5s
|
||||||
|
@ -56,6 +56,7 @@ networks:
|
||||||
external: true
|
external: true
|
||||||
postfix:
|
postfix:
|
||||||
external: true
|
external: true
|
||||||
|
internal:
|
||||||
|
|
||||||
######## Volumes ########
|
######## Volumes ########
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -63,4 +64,8 @@ volumes:
|
||||||
db17:
|
db17:
|
||||||
|
|
||||||
# todo heatclheck
|
# todo heatclheck
|
||||||
# rolle in friedhof
|
# rolle in friedho
|
||||||
|
# munin url
|
||||||
|
# chedckliste
|
||||||
|
# backups pve/pbs löschen
|
||||||
|
# depends_on
|
||||||
|
|
|
@ -20,7 +20,7 @@ key_seed = "{{ lookup('viczem.keepass.keepass', 'lldap/lldap_key_seed', 'passwor
|
||||||
|
|
||||||
[smtp_options]
|
[smtp_options]
|
||||||
enable_password_reset=false
|
enable_password_reset=false
|
||||||
server=postfix
|
server = "postfix"
|
||||||
port=25
|
port = 25
|
||||||
smtp_encryption = "NONE"
|
smtp_encryption = "NONE"
|
||||||
reply_to="Do not reply <info@mgrote.net>"
|
reply_to ="Do not reply <info@mgrote.net>"
|
||||||
|
|
Loading…
Reference in a new issue