ldap-server/docker-compose.yml.example

39 lines
890 B
Plaintext
Raw Normal View History

version: "2.4"
volumes:
data:
services:
admin:
image: registry.audio-lab.org/ldapphpadmin
restart: always
links:
- ldap
ports:
- ${LDAP_ADMIN_PORT}:80
build:
context: phpldapadmin
dockerfile: Dockerfile
args:
- LDAP_BASE=${LDAP_BASE}
ldap:
user: ${USER_GROUP}
image: registry.audio-lab.org/ldap
restart: always
ports:
- ${LDAP_PORT}:389
volumes:
- data:/var/lib/ldap
build:
context: .
dockerfile: Dockerfile
args:
- LDAP_ADMIN_PASSWORD=${LDAP_ADMIN_PASSWORD}
- LDAP_ORGANISATION=${LDAP_ORGANISATION}
- LDAP_DOMAIN=${LDAP_DOMAIN}
- LDAP_USER=${LDAP_USER}
- LDAP_GROUP=${LDAP_GROUP}
environment:
- LDAP_ADMIN_PASSWORD=${LDAP_ADMIN_PASSWORD}
- LDAP_ORGANISATION=${LDAP_ORGANISATION}
- LDAP_DOMAIN=${LDAP_DOMAIN}