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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user