summaryrefslogtreecommitdiff
path: root/roles/lldap/templates/docker-compose.yml.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/lldap/templates/docker-compose.yml.j2')
-rw-r--r--roles/lldap/templates/docker-compose.yml.j218
1 files changed, 18 insertions, 0 deletions
diff --git a/roles/lldap/templates/docker-compose.yml.j2 b/roles/lldap/templates/docker-compose.yml.j2
new file mode 100644
index 0000000..c4757b2
--- /dev/null
+++ b/roles/lldap/templates/docker-compose.yml.j2
@@ -0,0 +1,18 @@
+version: "3"
+
+volumes:
+ lldap_data:
+ driver: local
+
+services:
+ lldap:
+ image: lldap/lldap:stable
+ ports:
+ - "{{ johan_ip }}:3890:3890"
+ - "127.0.0.1:17170:17170"
+ volumes:
+ - "lldap_data:/data"
+ environment:
+ - LLDAP_JWT_SECRET="{{ lldap_jwt_secret }}"
+ - LLDAP_LDAP_USER_PASS="{{ lldap_user_pass }}"
+ - LLDAP_LDAP_BASE_DN=dc=simponic,dc=xyz