1
0
mirror of https://git.mills.io/kayos/bitraft.git synced 2024-06-24 07:48:53 +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: services:
seed: seed:
image: prologic/bitraft image: prologic/bitraft
entrypoint: entrypoint:
- timeout # this seed fires up the cluster after which it is no longer needed - timeout
- -sTERM # this is the same signal as docker would send on a scale down / stop - -sTERM
- -t30 # terminate after 30 seconds - "30"
command: command:
- /bitraft - /bitraft
- -d=/tmp/bitraft - -d=/tmp/bitraft
@ -30,7 +31,7 @@ services:
networks: networks:
- bitraft - bitraft
deploy: deploy:
mode: global ##this will deploy to all nodes that mode: global
networks: networks:
bitraft: bitraft: