docker-compose.yml 800 B

123456789101112131415161718192021222324252627282930
  1. version: '2'
  2. services:
  3. mongo:
  4. image: docker.finogeeks.club/base/mongo:3.6
  5. ports:
  6. - 27017:27017
  7. ldap-server:
  8. restart: always
  9. image: docker.finogeeks.club/ldap/server:1.1.0
  10. environment:
  11. LDAP_ADMIN_PASSWORD: admin159357
  12. LDAP_DOMAIN: 'csrc.gov.cn'
  13. LDAP_ORGANISATION: csrc
  14. LDAP_TLS: 'false'
  15. ulimits:
  16. nofile:
  17. hard: 40000
  18. soft: 20000
  19. ports:
  20. - 389:389/tcp
  21. - 636:636/tcp
  22. ldap-admin:
  23. restart: always
  24. image: docker.finogeeks.club/mesons/ldap-admin:0.6.7
  25. ports:
  26. - 8083:443/tcp
  27. - 8084:80/tcp
  28. environment:
  29. PHPLDAPADMIN_LDAP_HOSTS: ldap-server
  30. PHPLDAPADMIN_HTTPS: 'false'