Browse Source

checkouts

155-refactor
Steven Foerster 5 years ago
parent
commit
4b268de68c
  1. 2
      modules/mistborn-cli
  2. 15
      scripts/wrappers/mistborn_docker.sh

2
modules/mistborn-cli

@ -1 +1 @@ @@ -1 +1 @@
Subproject commit 00986bcb7f945c611d13099672b4fb1e2d0721f2
Subproject commit 35e2d0256d727de2d0fd3e57198d1cd54d238813

15
scripts/wrappers/mistborn_docker.sh

@ -24,6 +24,21 @@ else @@ -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"

Loading…
Cancel
Save