Guest User

LLDAP - Container

a guest
Dec 19th, 2023
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. - name: Download and start authelia ldap
  2. community.docker.docker_swarm_service:
  3. name: auth-ldap
  4. image: 'lldap/lldap:latest'
  5. networks:
  6. - name: proxy
  7. mounts:
  8. - source: /ldap/
  9. target: /data
  10. type: bind
  11. env:
  12. TZ: Europe/London
  13. LLDAP_JWT_SECRET: "{{ LLDAP_JWT_SECRET }}"
  14. LLDAP_USER_PASS: "{{ LLDAP_LDAP_USER_PASS }}"
  15. LLDAP_BASE_DN: dc=example,dc=org
  16. labels:
  17. traefik.enable: "true"
  18. traefik.http.services.auth-ldap.loadbalancer.server.port: "17170"
  19. state: present
  20. restart_config:
  21. condition: on-failure
  22. max_attempts: 5
Advertisement
Add Comment
Please, Sign In to add comment