1
0
mirror of https://git.mills.io/kayos/bitraft.git synced 2024-06-16 03:48:56 +00:00

Fix timeout argument

This commit is contained in:
James Mills 2020-11-19 17:43:15 +10:00
parent 7b24b7e338
commit 86ff0f4a18
No known key found for this signature in database
GPG Key ID: AC4C014F1440EBD6

@ -1,12 +1,13 @@
version: "3.7"
---
version: "3.8"
services:
seed:
image: prologic/bitraft
entrypoint:
- timeout # this seed fires up the cluster after which it is no longer needed
- -sTERM # this is the same signal as docker would send on a scale down / stop
- -t30 # terminate after 30 seconds
- timeout
- -sTERM
- "30"
command:
- /bitraft
- -d=/tmp/bitraft
@ -30,7 +31,7 @@ services:
networks:
- bitraft
deploy:
mode: global ##this will deploy to all nodes that
mode: global
networks:
bitraft: