checkouts

This commit is contained in:
Steven Foerster
2021-03-16 17:04:45 -04:00
parent a57c529c73
commit 4b268de68c
2 changed files with 16 additions and 1 deletions
+15
View File
@@ -24,6 +24,21 @@ else
fi
set +a
# call traefik-extra
if [[ ! -z "MISTBORN_SERVICE_NAME" ]] && \
[[ ! -z "MISTBORN_SERVICE_DOMAIN" ]] && \
[[ ! -z "MISTBORN_SERVICE_PORT" ]]; then
echo "Populating traefik routes"
mistborn-cli traefik-extra \
--domain-name $MISTBORN_SERVICE_DOMAIN \
--service-name $MISTBORN_SERVICE_NAME \
--web-port $MISTBORN_SERVICE_PORT
else
echo "Not populating traefik routes"
fi
# init script
if [[ -f "${MISTBORN_SERVICE_INIT}" ]]; then
echo "Running init script"