diff --git a/Makefile b/Makefile index fa9cafa..7e28f0c 100644 --- a/Makefile +++ b/Makefile @@ -44,12 +44,21 @@ make_secrets: stack: @PI_BOOTSTRAP="true" \ ${CONTAINER_ENGINE} compose --env-file=environment/application-${TAG}.env -p ${TAG} --profile=${PROFILE} up -d + @echo + @echo Access to privacyIDEA Web-UI: https://localhost:8443 + @echo -n "Username/Password: admin / " + @cat secrets/pi_admin_pass + +fullstack: + @PI_BOOTSTRAP="true" \ + ${CONTAINER_ENGINE} compose --env-file=environment/application-${TAG}.env -p ${TAG} --profile=fullstack up -d @${CONTAINER_ENGINE} exec -d ${TAG}-privacyidea-1 /bin/bash -c -i "pi-manage config importer -i /etc/privacyidea/resolver.json &>/dev/null" &>/dev/null @echo @echo Access to privacyIDEA Web-UI: https://localhost:8443 @echo -n "Username/Password: admin / " @cat secrets/pi_admin_pass - + + run: @${CONTAINER_ENGINE} run -d --name ${TAG}-privacyidea \ diff --git a/README.md b/README.md index ccfa294..db04d7d 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ Clone repository and start a full privacyIDEA stack: ``` git clone https://github.com/gpappsoft/privacyidea-docker.git cd privacyidea-docker -make cert secret stack PROFILE=fullstack TAG=prod +make cert secret fullstack ```