forked from gsn/predictor
feat: remove redis
This commit is contained in:
parent
7a9f81e527
commit
a850615e1f
18 changed files with 170 additions and 1142 deletions
15
Makefile
15
Makefile
|
|
@ -43,10 +43,6 @@ logs:
|
|||
logs-predictor:
|
||||
docker-compose -f $(COMPOSE_FILE) logs -f predictor
|
||||
|
||||
# View logs for Redis
|
||||
.PHONY: logs-redis
|
||||
logs-redis:
|
||||
docker-compose -f $(COMPOSE_FILE) logs -f redis
|
||||
|
||||
# Check service status
|
||||
.PHONY: ps
|
||||
|
|
@ -58,11 +54,6 @@ ps:
|
|||
exec:
|
||||
docker-compose -f $(COMPOSE_FILE) exec predictor sh
|
||||
|
||||
# Execute command in Redis container
|
||||
.PHONY: exec-redis
|
||||
exec-redis:
|
||||
docker-compose -f $(COMPOSE_FILE) exec redis sh
|
||||
|
||||
# Clean up Docker resources
|
||||
.PHONY: clean
|
||||
clean:
|
||||
|
|
@ -79,7 +70,7 @@ test:
|
|||
build-local:
|
||||
go build -o predictor ./cmd/api
|
||||
|
||||
# Run locally (requires Redis)
|
||||
# Run locally
|
||||
.PHONY: run-local
|
||||
run-local:
|
||||
cd cmd/api && go run .
|
||||
|
|
@ -106,14 +97,12 @@ help:
|
|||
@echo " down-volumes - Stop services and remove volumes"
|
||||
@echo " logs - View all logs"
|
||||
@echo " logs-predictor - View predictor logs"
|
||||
@echo " logs-redis - View Redis logs"
|
||||
@echo " ps - Show service status"
|
||||
@echo " exec - Execute shell in predictor container"
|
||||
@echo " exec-redis - Execute shell in Redis container"
|
||||
@echo " clean - Clean up Docker resources"
|
||||
@echo " test - Run tests"
|
||||
@echo " build-local - Build locally"
|
||||
@echo " run-local - Run locally (requires Redis)"
|
||||
@echo " run-local - Run locally"
|
||||
@echo " fmt - Format code"
|
||||
@echo " lint - Lint code"
|
||||
@echo " help - Show this help"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue