rework init
This commit is contained in:
@@ -40,9 +40,9 @@ services:
|
|||||||
- "88:88/udp"
|
- "88:88/udp"
|
||||||
- "464:464"
|
- "464:464"
|
||||||
- "464:464/udp"
|
- "464:464/udp"
|
||||||
|
- "123:123/udp"
|
||||||
expose:
|
expose:
|
||||||
- 443
|
- 443
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
- FREEIPA_HOST=${FREEIPA_HOST}
|
- FREEIPA_HOST=${FREEIPA_HOST}
|
||||||
# - USE_LETSENCRYPT_CERTS=${USE_LETSENCRYPT_CERTS}
|
# - USE_LETSENCRYPT_CERTS=${USE_LETSENCRYPT_CERTS}
|
||||||
|
|||||||
19
first_run.sh
19
first_run.sh
@@ -1,21 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
source .env
|
source .env
|
||||||
|
|
||||||
docker run \
|
docker-compose run --rm --service-ports freeipa exit-on-finished
|
||||||
--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}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user