# HG changeset patch # User Goffi # Date 1456324968 -3600 # Node ID 70f65a6b339293b4adea5623406a7b23d441a54a # Parent 5a0ed7f94ab87cc225e54cff28e1bd6693851762 docker (libervia_cont): added SAT_CONT_DK_EXTRA environment variable for specifying extra options when running containers diff -r 5a0ed7f94ab8 -r 70f65a6b3392 docker/libervia_cont.sh --- a/docker/libervia_cont.sh Wed Feb 24 15:23:38 2016 +0100 +++ b/docker/libervia_cont.sh Wed Feb 24 15:42:48 2016 +0100 @@ -23,6 +23,7 @@ # SAT_CONT_TLS_DIR for TLS certificates directory # SAT_CONT_DOMAIN for the host name # SAT_CONT_BACKUP_DIR is the directory where tar.gz backup will be written +# SAT_CONT_DK_EXTRA is used for extra options (used with all containers but sat_data) CONTAINERS="prosody sat_pubsub salut sat libervia" @@ -244,7 +245,7 @@ *) printf "Unkown container $CONT\n"; exit 1 esac printf "Launching $CONT... " - docker_id=$(docker run $OPTS $ACCOUNT/$CONT 2>&1) + docker_id=$(docker run $OPTS $SAT_CONT_DK_EXTRA $ACCOUNT/$CONT 2>&1) if [ $? -eq 0 ]; then printf "OK ($docker_id)\n" else