members.lumbung.space/makefile

13 lines
303 B
Makefile
Raw Normal View History

2022-01-10 12:34:17 +00:00
.DEFAULT: run
2022-01-10 13:22:33 +00:00
.PHONY: run redis deploy
2022-01-10 12:34:17 +00:00
run:
2022-01-10 15:31:00 +00:00
poetry run uvicorn members_lumbung_space.main:app --reload --reload-dir members_lumbung_space
2022-01-10 12:34:17 +00:00
redis:
@docker run -p 6379:6379 --name redis -d redis:6-alpine
2022-01-10 13:22:33 +00:00
deploy:
@DOCKER_CONTEXT=lumbung.space docker stack deploy -c compose.yml members_lumbung_space