add opts in first init
This commit is contained in:
@@ -54,7 +54,7 @@ services:
|
|||||||
- VIRTUAL_PROTO=https
|
- VIRTUAL_PROTO=https
|
||||||
- VIRTUAL_PORT=443
|
- VIRTUAL_PORT=443
|
||||||
- VIRTUAL_HOST=${FREEIPA_HOST}
|
- VIRTUAL_HOST=${FREEIPA_HOST}
|
||||||
- PASSWORD={FREEIPA_PASS}
|
# - PASSWORD=${FREEIPA_PASS}
|
||||||
# - HTTPS_METHOD=noredirect
|
# - HTTPS_METHOD=noredirect
|
||||||
# - USE_LETSENCRYPT_CERTS=${USE_LETSENCRYPT_CERTS}
|
# - USE_LETSENCRYPT_CERTS=${USE_LETSENCRYPT_CERTS}
|
||||||
# - LETSENCRYPT_HOST=${FREEIPA_HOST}
|
# - LETSENCRYPT_HOST=${FREEIPA_HOST}
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
source .env
|
source .env
|
||||||
|
|
||||||
# [ -f ${SERVICE_DATA}/ipa-server-install-options ] && {
|
[ -f ${SERVICE_DATA}/ipa-server-install-options ] && {
|
||||||
# echo ${SERVICE_DATA}/ipa-server-install-options
|
echo "--password=${FREEIPA_PASS}" > ${SERVICE_DATA}/ipa-server-install-options
|
||||||
# }
|
echo "--admin-password=${FREEIPA_PASS}" >> ${SERVICE_DATA}/ipa-server-install-options
|
||||||
|
}
|
||||||
|
|
||||||
docker-compose run --rm --service-ports freeipa exit-on-finished
|
docker-compose run --rm --service-ports freeipa exit-on-finished
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user