This commit is contained in:
Егор Кандрушин 2026-04-08 00:07:51 +03:00
parent 98f51e5210
commit 6896fce3e8
7 changed files with 40 additions and 9 deletions

7
.mk/inside.mk Normal file
View file

@ -0,0 +1,7 @@
.PHONY: uvicorn-dev uvicorn-prod
uvicorn-dev:
uvicorn src.main:app --host 0.0.0.0 --port 8000 --reload
uvicorn-prod:
uvicorn src.main:app --host 0.0.0.0 --port 8000

7
.mk/outside.mk Normal file
View file

@ -0,0 +1,7 @@
.PHONY: up-dev up-prod
up-dev:
docker compose --profile dev up $(ARGS)
up-prod:
docker compose --profile prod up $(ARGS)