1
0
Fork 0

Changed restart time; added to todo

This commit is contained in:
Raynor 2022-12-21 03:37:10 +00:00
parent 3a5a2c34e3
commit bd71dc16b4
3 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,4 @@
1. Create language filter
2. Create bot filter
3.
3. Add health check
4. Back off if servers are down

View File

@ -5,7 +5,7 @@ services:
build: .
image: fakefirehose:latest
volumes:
- ./data:/data
- ../data:/data
- ./config:/config
restart: always
env_file: .env.production

View File

@ -82,7 +82,7 @@ cat /config/hashtag-urls.txt >> /config/urls.txt
cat /config/urls.txt | while read -r url
do
echo "Opening $url to stream"
sleep 0.1s
sleep 0.2s
./stream-url.sh $url &
done
@ -94,5 +94,5 @@ fi
## We don't have a health check, so just exit after an hour
# If your docker file has restart: always on this should gracefully exit, and
# then restart
sleep 1h
sleep 2h
exit 0