You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.PHONY: help run start-dependencies test migrate alembic-migrate alembic-revision alembic-upgrade alembic-downgrade alembic-current alembic-history alembic-heads alembic-show alembic-stamp
14
18
15
19
help:
16
20
@echo "Available targets:"
17
-
@echo " run - start FastAPI server (reload)"
21
+
@echo " run - start FastAPI server (reload; honors AGENT_CONTROL_HOST/AGENT_CONTROL_PORT)"
22
+
@echo " local Postgres host mapping defaults to AGENT_CONTROL_DB_PORT"
18
23
@echo " start-dependencies - docker compose up -d (start local dependencies)"
19
24
@echo " test - run server tests (uses $(TEST_DB_ENV))"
20
25
@echo " migrate - run database migrations (alembic upgrade head)"
@@ -56,7 +61,7 @@ alembic-stamp:
56
61
$(ALEMBIC) stamp $(STAMP)
57
62
58
63
start-dependencies:
59
-
docker compose -f ../docker-compose.dev.yml up -d
64
+
AGENT_CONTROL_DB_HOST_PORT=$(AGENT_CONTROL_DB_HOST_PORT)docker compose -f ../docker-compose.dev.yml up -d
0 commit comments