summaryrefslogtreecommitdiff
path: root/knot/launch-ldap
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2017-08-11 13:19:12 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2017-08-11 13:22:24 +0200
commit801177d16ccc9eeb14d9ccc3278420b90e207639 (patch)
treebfba0345572ee638004a0f6f7b17cf97456821b1 /knot/launch-ldap
downloadinfra-801177d16ccc9eeb14d9ccc3278420b90e207639.tar.gz
infra-801177d16ccc9eeb14d9ccc3278420b90e207639.tar.bz2
infra-801177d16ccc9eeb14d9ccc3278420b90e207639.tar.xz
infra-801177d16ccc9eeb14d9ccc3278420b90e207639.zip
o Initial import of configuration for knot.
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