Considering it’s tailscale, one may want to have the service fail though as tailscale is sometimes not used for convenience but security concerns instead.
Considering it’s tailscale, one may want to have the service fail though as tailscale is sometimes not used for convenience but security concerns instead.
Delay the start of your containers with the tailscale dependency. Are you using required or depends_on in your docker-compose.yml
https://hatchjs.com/docker-compose-conditionally-start-service/
If you’re using kubernetes you can make the requirements at the pod level
https://stackoverflow.com/questions/69423932/container-initialization-order-in-pod-on-k8s
Edit: If using docker-compose.yml you can set a condition on a healthcheck
You can also specify a condition that must be met before the service is started. For example, the following configuration will start the web
service only if the db
service is healthy:
version: ‘3.7’
services:
web:
image: nginx
depends_on:
– db
condition: service_healthy
The service_healthy
condition checks the health of the db
service using the docker-compose ps
command. If the db
service is healthy, the web
service will be started.
The trains did not in fact run on time.
https://www.snopes.com/fact-check/loco-motive/
https://www.bloomberg.com/news/articles/2016-11-15/stop-saying-mussolini-made-the-trains-run-on-time