Compare commits

...

4 Commits

Author SHA1 Message Date
Smaznet
d1b23ec602
Merge 2dfc3f3ee5 into 0bc23e3830 2024-02-11 12:56:40 +01:00
SMAZNet
2dfc3f3ee5
Update docker-entrypoint.sh 2021-08-15 00:31:56 +04:30
SMAZNet
1cb53b2d55
Update docker-entrypoint.sh 2021-07-19 02:29:15 +04:30
SMAZNet
cf5e66213a
added stat host env
it would be better to set host because of docker networking its hard to request to localhost
2021-07-19 02:26:47 +04:30

View File

@ -19,6 +19,11 @@ CUSTOM_ARGS=""
if [ -n "$TELEGRAM_STAT" ]; then
CUSTOM_ARGS="${CUSTOM_ARGS} --http-stat-port=8082"
fi
if [ -n "$TELEGRAM_STAT_HOST" ]; then
CUSTOM_ARGS="${CUSTOM_ARGS} --http-stat-ip-address=$TELEGRAM_STAT_HOST"
fi
if [ -n "$TELEGRAM_STAT_HIDE_SENSIBLE_DATA" ]; then
CUSTOM_ARGS="${CUSTOM_ARGS} --stats-hide-sensible-data"
fi