summaryrefslogtreecommitdiff
path: root/roles/lldap/templates/docker-compose.yml.j2
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-01-05 16:13:01 -0500
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-01-05 16:13:01 -0500
commitfb0b3914086484d9284426985984e2c1699ba557 (patch)
tree963a2288a3b33f389972a78efaf3b6462bbe1925 /roles/lldap/templates/docker-compose.yml.j2
parentb62d5f559b81556a1dd6197c72a0c43ba1744477 (diff)
downloadoldinfra-fb0b3914086484d9284426985984e2c1699ba557.tar.gz
oldinfra-fb0b3914086484d9284426985984e2c1699ba557.zip
ldap, internal CA, internal webserver, dns, etc.
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