Files
2024-05-06 17:43:25 -06:00

11 lines
316 B
Bash

#!/bin/bash
docker compose -p coredns-netbox-plugin-dns -f ./.testing/docker-compose.yml up -d && \
until [[ "`docker inspect -f {{.State.Health.Status}} coredns-netbox-plugin-dns-netbox-1`" == "healthy" ]]; do
echo "Waiting for Netbox to come online..."
sleep 5;
done && \
go run ./.testing/init/init.go