diff --git a/docker-compose.yml b/docker-compose.yml index f25b83b..bdb6385 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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} diff --git a/first_run.sh b/first_run.sh index a3a5729..4dcb160 100755 --- a/first_run.sh +++ b/first_run.sh @@ -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