Update clams.

This commit is contained in:
Derek Smith 2023-04-04 11:09:35 -04:00
parent 4c214cf7ad
commit b3c3be4df1
Signed by: farscapian
GPG Key ID: B443E530A14E1C90

View File

@ -10,6 +10,7 @@ export DOCKER_HOST="$DOCKER_HOST"
# Create the nginx config file which covers all domainys.
bash -c ./stub/nginx_config.sh
BUILD_CLAMS=false
for DOMAIN_NAME in ${DOMAIN_LIST//,/ }; do
export DOMAIN_NAME="$DOMAIN_NAME"
export SITE_PATH="$SITES_PATH/$DOMAIN_NAME"
@ -19,6 +20,10 @@ for DOMAIN_NAME in ${DOMAIN_LIST//,/ }; do
source "$SITE_PATH/site.conf"
source ../domain_env.sh
if [ "$DEPLOY_CLAMS" = true ]; then
BUILD_CLAMS=true
fi
### Let's check to ensure all the requiredsettings are set.
if [ "$DEPLOY_GHOST" = true ]; then
if [ -z "$GHOST_MYSQL_PASSWORD" ]; then
@ -65,12 +70,6 @@ for DOMAIN_NAME in ${DOMAIN_LIST//,/ }; do
exit 1
fi
# prepare clams images and such
if [ "$DEPLOY_CLAMS" = true ]; then
echo ""
./clams/build.sh
fi
done
./stop_docker_stacks.sh