Changed restart time; added to todo
This commit is contained in:
parent
3a5a2c34e3
commit
bd71dc16b4
3
TODO.md
3
TODO.md
|
@ -1,3 +1,4 @@
|
|||
1. Create language filter
|
||||
2. Create bot filter
|
||||
3.
|
||||
3. Add health check
|
||||
4. Back off if servers are down
|
|
@ -5,7 +5,7 @@ services:
|
|||
build: .
|
||||
image: fakefirehose:latest
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- ../data:/data
|
||||
- ./config:/config
|
||||
restart: always
|
||||
env_file: .env.production
|
|
@ -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
|
Loading…
Reference in New Issue