From 6824ae07cb12baa631d619d749da1e0e9d48bfc0 Mon Sep 17 00:00:00 2001 From: Vassiliy Yegorov Date: Thu, 26 Dec 2019 16:48:21 +0700 Subject: [PATCH] add first_run --- first_run.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 first_run.sh diff --git a/first_run.sh b/first_run.sh new file mode 100755 index 0000000..af546b3 --- /dev/null +++ b/first_run.sh @@ -0,0 +1,17 @@ +#!/bin/bash +source .env + +docker run \ + --name freeipa-server-test \ + -it \ + --rm \ + --hostname ${FREEIPA_HOST} \ + --volume ${SERVICE_DATA}:/data \ + --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}