Add: config.php for admin

This commit is contained in:
Siroco 2023-06-03 01:53:07 +02:00
parent 1a28859db6
commit 6431dbf96e
No known key found for this signature in database
GPG Key ID: 1324098302A514B0
2 changed files with 26 additions and 2 deletions

View File

@ -4,12 +4,15 @@ volumes:
data: data:
services: services:
admin: admin:
ports:
- 8080:80
image: registry.audio-lab.org/ldapphpadmin image: registry.audio-lab.org/ldapphpadmin
volumes:
- config.php:/usr/share/phpldapadmin/config/config.php:ro
restart: always
build: build:
context: phpldapadmin context: phpldapadmin
dockerfile: Dockerfile dockerfile: Dockerfile
args:
- LDAP_BASE=${LDAP_BASE}
ldap: ldap:
image: registry.audio-lab.org/ldap image: registry.audio-lab.org/ldap
restart: always restart: always

21
docker-compose.yml.exec Normal file
View File

@ -0,0 +1,21 @@
version: "2.4"
volumes:
data:
services:
admin:
ports:
- 8080:80
image: registry.audio-lab.org/ldapphpadmin
ldap:
image: registry.audio-lab.org/ldap
restart: always
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}