rework init

This commit is contained in:
Vassiliy Yegorov
2019-12-26 21:16:34 +07:00
parent 891779915f
commit 9c921bca27
2 changed files with 2 additions and 19 deletions

View File

@@ -40,9 +40,9 @@ services:
- "88:88/udp"
- "464:464"
- "464:464/udp"
- "123:123/udp"
expose:
- 443
environment:
- FREEIPA_HOST=${FREEIPA_HOST}
# - USE_LETSENCRYPT_CERTS=${USE_LETSENCRYPT_CERTS}

View File

@@ -1,21 +1,4 @@
#!/bin/bash
source .env
docker run \
--name freeipa-server-test \
-it \
--rm \
--hostname ${FREEIPA_HOST} \
--volume ${SERVICE_DATA}:/data:Z \
--volume /sys/fs/cgroup:/sys/fs/cgroup:ro \
--privileged \
--security-opt seccomp:unconfined \
--sysctl net.ipv6.conf.all.disable_ipv6=0 \
--publish "443:443" \
--publish "389:389" \
--publish "636:636" \
--publish "88:88" \
--publish "88:88/udp" \
--publish "464:464" \
--publish "464:464/udp" \
${DOCKER_IMAGE_FREEIPA}
docker-compose run --rm --service-ports freeipa exit-on-finished