Skip to content

Commit

Permalink
Remove the deprecated Docker « links » statement for phpmyadmin/phpld…
Browse files Browse the repository at this point in the history
…apadmin (#483)

* Remove the deprecated Docker « links » statement for phpmyadmin/phpldapadmin

* Adjust the LDAP host env value

* Configuration of env value for Local LDAP

---------

Co-authored-by: guillaume <[email protected]>
  • Loading branch information
lakano and guillaume authored Aug 21, 2023
1 parent ef7c3e9 commit ce9a1d2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ services:
- '${FORWARD_MAILHOG_DASHBOARD_PORT:-8025}:8025'
phpmyadmin:
image: phpmyadmin/phpmyadmin
links:
- db:db
ports:
- '${FORWARD_PHPMYADMIN_PORT:-8080}:80'
environment:
Expand All @@ -66,12 +64,10 @@ services:
command: --copy-service
phpldapadmin:
image: osixia/phpldapadmin
links:
- openldap:ldap-host
ports:
- '${FORWARD_PHPLDAPADMIN_PORT:-6680}:80'
environment:
PHPLDAPADMIN_LDAP_HOSTS: "#PYTHON2BASH:[{'ldap-host': [{'server': []},{'login': [{'bind_id': 'cn=admin,dc=university,dc=org', 'bind_pass': 'admin'}]}]}]"
PHPLDAPADMIN_LDAP_HOSTS: "#PYTHON2BASH:[{'Local LDAP': [{'server': [{'host': 'openldap'}]},{'login': [{'bind_id': 'cn=admin,dc=university,dc=org'},{'bind_pass': 'admin'},{'auth_type': 'config'}]}]}]"
PHPLDAPADMIN_HTTPS: 'false'
volumes:
mariadb:
Expand Down

0 comments on commit ce9a1d2

Please sign in to comment.