aboutsummaryrefslogtreecommitdiff
path: root/knot/launch-ldap
diff options
context:
space:
mode:
Diffstat (limited to 'knot/launch-ldap')
-rwxr-xr-xknot/launch-ldap12
1 files changed, 12 insertions, 0 deletions
diff --git a/knot/launch-ldap b/knot/launch-ldap
new file mode 100755
index 0000000..123eea9
--- /dev/null
+++ b/knot/launch-ldap
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+exec docker run -d \
+ --name trygvis-openldap \
+ --net trygvis-net \
+ --ip 172.90.0.30 \
+ --volume trygvis-openldap_etc_ldap:/etc/ldap \
+ --volume trygvis-openldap_var_lib_ldap:/var/lib/ldap \
+ -e SLAPD_PASSWORD=secret \
+ -e SLAPD_DOMAIN=trygvis.io \
+ -e SLAPD_CONFIG_PASSWORD=secret \
+ dinkel/openldap