generated from coulomb/repo-seed
make bridge target
This commit is contained in:
14
Makefile
14
Makefile
@@ -1,4 +1,4 @@
|
|||||||
.PHONY: install install-cli db db-tools migrate seed api dashboard check test clean register-project validate-adr add-domain rename-domain add-repo list-repos register-path cleanup-stale tunnels-up tunnels-status tunnels-check install-hooks install-hooks-all gitea-inventory
|
.PHONY: install install-cli db db-tools migrate seed api dashboard check test clean register-project validate-adr add-domain rename-domain add-repo list-repos register-path cleanup-stale tunnels-up tunnels-status tunnels-check bridges install-hooks install-hooks-all gitea-inventory
|
||||||
|
|
||||||
COMPOSE = docker compose -f infra/docker-compose.yml --env-file .env
|
COMPOSE = docker compose -f infra/docker-compose.yml --env-file .env
|
||||||
|
|
||||||
@@ -56,6 +56,18 @@ tunnels-status:
|
|||||||
tunnels-check:
|
tunnels-check:
|
||||||
bridge check
|
bridge check
|
||||||
|
|
||||||
|
## Ensure all ops-bridge tunnels are up and healthy.
|
||||||
|
## Brings up any stopped/stale tunnels, shows final status, exits non-zero if anything is still down.
|
||||||
|
bridges:
|
||||||
|
@echo "==> Bringing up all tunnels..."
|
||||||
|
bridge up
|
||||||
|
@echo ""
|
||||||
|
@echo "==> Tunnel status:"
|
||||||
|
bridge status
|
||||||
|
@echo ""
|
||||||
|
@echo "==> Checking tunnel health..."
|
||||||
|
bridge check
|
||||||
|
|
||||||
## Start (or restart) the full backend — db + migrate + uvicorn.
|
## Start (or restart) the full backend — db + migrate + uvicorn.
|
||||||
## Stops uvicorn on :8000 if already running, then starts fresh.
|
## Stops uvicorn on :8000 if already running, then starts fresh.
|
||||||
api: db
|
api: db
|
||||||
|
|||||||
Reference in New Issue
Block a user