chore: added start command to tugboat to wait for the port to become ready before marking as live in tugboat

This commit is contained in:
blam
2021-01-30 01:44:46 +01:00
parent f44137454f
commit 7c0fcd7404
+3
View File
@@ -12,3 +12,6 @@ services:
build:
- yarn install --frozen-lockfile
- yarn workspace example-app build
start:
# wget the endpoint. Will retry every 2 seconds. 30 retries = 1m for service to come up. Plenty.
- wget -O /dev/null -o /dev/null --tries=30 --timeout=5 --retry-connrefused http://localhost:7000