docker/vizier-nginx-proxy/entrypoint.sh
Mike 2ddb6f262f Kubernetes deployment is working
-there is one issue with the mimir hostname not being resolved from spark workers.  may switch to stateful setfor mimir to resolve.
2019-01-30 13:09:31 -05:00

6 lines
286 B
Bash

#!/bin/sh
cp /usr/local/$VIZIER_CONFIG /etc/nginx/conf.d/vizier.conf
sed -i -E "s/(server_name\s+[a-z]+)\.vizier\.app/\1.$VIZIER_DOMAIN/g" /etc/nginx/conf.d/vizier.conf
sed -i -E "s/(https:\/\/[a-z]+)\.vizier\.app/\1.$VIZIER_DOMAIN/g" /etc/nginx/conf.d/vizier.conf
/usr/bin/supervisord