5
0
mirror of https://github.com/cwinfo/yggdrasil-map synced 2024-12-29 04:05:39 +00:00
yggdrasil-map/contrib/docker/entrypoint.sh
Christer Warén cc5e8ca1ce
Use new variable choices
Making possible to change IP and port with setting environment variables to docker run command
2019-01-22 03:04:44 +02:00

9 lines
155 B
Bash

#!/usr/bin/env sh
set -e
cron
cd /src/yggdrasil-map/web/ && python updateGraph.py
python /src/yggdrasil-map/web/web.py --host $HOST --port $PORT
exit $?