- Standalone SQS-service repository - Multi-tenant message queue service, AWS SQS compatible - Based on GoAws, with mutable tenants, auth, WebUI, Redis persistence - Ready for independent development and deployment - See doc/ and README.md for architecture and usage
28 lines
563 B
Makefile
28 lines
563 B
Makefile
# Makefile — shared-sqs
|
|
# Created: 2026-04-09
|
|
# Registry: Docker Hub (naeel/shared-sqs) — pearlharbor не используется (нестабилен)
|
|
|
|
IMAGE_REPO=naeel/shared-sqs
|
|
VERSION=v0.1.0
|
|
BINARY=shared-sqs
|
|
|
|
.PHONY: build docker-build docker-push test run clean
|
|
|
|
build:
|
|
CGO_ENABLED=0 go build -o $(BINARY) app/cmd/goaws.go
|
|
|
|
docker-build:
|
|
docker build -t $(IMAGE_REPO):$(VERSION) .
|
|
|
|
docker-push:
|
|
docker push $(IMAGE_REPO):$(VERSION)
|
|
|
|
test:
|
|
go test ./...
|
|
|
|
run:
|
|
./$(BINARY) --admin-token=dev-token-123 --port=4100 --debug
|
|
|
|
clean:
|
|
rm -f $(BINARY)
|