ldap用户自助修改密码

version: "3"
services:
  self-service-password:
    container_name: self-service-password
    image: tiredofit/self-service-password:latest
    restart: always
    ports:
      - 8096:80
    environment:
      - LDAP_SERVER=ldap://172.16.106.129:389
      - LDAP_BINDDN=cn=admin,dc=abc,dc=com
      - LDAP_BINDPASS=28c1xzz6AI4z
      - LDAP_BASE_SEARCH=dc=abc,dc=com
      - MAIL_FROM=ops@xxx.com
      - SMTP_DEBUG=0
      - SMTP_HOST=smtp.larksuite.com
      - SMTP_USER=ops@xxx.com
      - SMTP_PASS=xxxxxx
      - SMTP_PORT=465
      - SMTP_SECURE_TYPE=ssl
      - SMTP_AUTH_ON=true
    volumes:
      - /etc/localtime:/etc/localtime
      - /data/openldap/self-service-password/htdocs:/www/ssp
      - /data/openldap/self-service-password/logs:/www/logs
    deploy:
      resources:
        limits:
           memory: 2G
        reservations:
           memory: 512M
docker-compose up -d 或者 docker compose up -d

访问:http://ip: 8096

posted @ 2023-11-29 17:30  哈喽哈喽111111  阅读(215)  评论(0编辑  收藏  举报