mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
In between commit refactoring LDAP, to continue working on other computer
This commit is contained in:
19
roles/docker-phpldapadmin/templates/docker-compose.yml.j2
Normal file
19
roles/docker-phpldapadmin/templates/docker-compose.yml.j2
Normal file
@@ -0,0 +1,19 @@
|
||||
services:
|
||||
|
||||
{% include 'roles/docker-oauth2-proxy/templates/container.yml.j2' %}
|
||||
|
||||
application:
|
||||
container_name: {{ application_id }}
|
||||
logging:
|
||||
driver: journald
|
||||
restart: {{docker_restart_policy}}
|
||||
image: leenooks/phpldapadmin:{{applications[application_id].version}}
|
||||
ports:
|
||||
- 127.0.0.1:{{ports.localhost.http[application_id]}}:8080
|
||||
{% include 'roles/docker-compose/templates/services/base.yml.j2' %}
|
||||
{% include 'templates/docker/container/networks.yml.j2' %}
|
||||
|
||||
{% include 'templates/docker/compose/volumes.yml.j2' %}
|
||||
data:
|
||||
|
||||
{% include 'templates/docker/compose/networks.yml.j2' %}
|
3
roles/docker-phpldapadmin/templates/env.j2
Normal file
3
roles/docker-phpldapadmin/templates/env.j2
Normal file
@@ -0,0 +1,3 @@
|
||||
# @See https://github.com/leenooks/phpLDAPadmin/wiki/Docker-Container
|
||||
APP_URL= https://{{domains[application_id]}}
|
||||
LDAP_HOST= openldap
|
Reference in New Issue
Block a user