44 lines
1.7 KiB
Django/Jinja
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

services:
{% include 'roles/docker-oauth2-proxy/templates/container.yml.j2' %}
application:
container_name: {{ application_id }}
image: ghcr.io/ldapaccountmanager/lam:{{applications[application_id].version}}
ports:
- 127.0.0.1:{{ports.localhost.http[application_id]}}:80
{% include 'roles/docker-compose/templates/services/base.yml.j2' %}
{% include 'templates/docker/container/networks.yml.j2' %}
{# include 'templates/docker/compose/volumes.yml.j2' #}
{% include 'templates/docker/compose/networks.yml.j2' %}
services:
fusiondirectory:
image: tiredofit/fusiondirectory:latest
container_name: fusiondirectory
ports:
- "8080:80" # Exponiert den Webservice (HTTP) des Containers auf Port 8080 des Hosts
environment:
# FusionDirectory spezifische Einstellungen
- FUSIONDIRECTORY_ADMIN_USER=admin
- FUSIONDIRECTORY_ADMIN_PASS=yourFusionDirPassword
# LDAP-Verbindungsdaten (diese werden von FusionDirectory benötigt, um sich mit Ihrem LDAP-Server zu verbinden)
- LDAP_HOST=ldap.example.com
- LDAP_ADMIN_DN=cn=admin,dc=example,dc=com
- LDAP_ADMIN_PASS=yourLDAPPassword
- LDAP_BASE_DN=dc=example,dc=com
# Optional: Falls TLS für die LDAP-Verbindung genutzt werden soll, können Sie diese Variablen definieren:
#- ENABLE_TLS=TRUE
#- TLS_CRT_FILENAME=cert.pem
#- TLS_KEY_FILENAME=key.pem
#- TLS_CA_CRT_FILENAME=ca_cert.pem
volumes:
# Hier können Sie persistente Daten ablegen z.B. individuelle Konfigurationen oder benutzerdefinierte Plugins
- fusiondirectory_data:/assets/fusiondirectory
restart: always
volumes:
fusiondirectory_data: