forked from mtusi2026/mtusi2026lab7
feat: secure messenger ingress and rate-limit logins
This commit is contained in:
@@ -12,20 +12,23 @@ COMPOSE = docker compose --project-name highload-lab7 --env-file .env -f compose
|
||||
.PHONY: app-init app-build app-up app-start app-stop app-down app-restart app-logs app-status
|
||||
.PHONY: app-migrate app-s3-bootstrap worker-start worker-stop queue-status attachments-cleanup
|
||||
.PHONY: jobs-failed jobs-replay jobs-upgrade jobs-cleanup-staging
|
||||
.PHONY: test-backend test-pipeline frontend-build
|
||||
.PHONY: test-backend test-pipeline
|
||||
|
||||
|
||||
app-init:
|
||||
$(PYTHON) scripts/init_env.py
|
||||
./scripts/bootstrap_tls.sh
|
||||
|
||||
app-build: app-init
|
||||
$(COMPOSE) build
|
||||
|
||||
app-up: app-init
|
||||
$(COMPOSE) up -d --build --wait
|
||||
./scripts/wait_ingress.sh
|
||||
|
||||
app-start: app-init
|
||||
$(COMPOSE) up -d --no-build --wait
|
||||
./scripts/wait_ingress.sh
|
||||
|
||||
app-stop:
|
||||
$(COMPOSE) stop
|
||||
@@ -80,6 +83,3 @@ test-backend: app-init
|
||||
|
||||
test-pipeline: app-init
|
||||
$(COMPOSE) --profile test run --rm --build backend-tests go test -race -count=1 -v ./backend/tests ./backend/workers -run 'TestPipeline|TestVersionedRendering|TestThumbnail|TestOptimized'
|
||||
|
||||
frontend-build:
|
||||
$(COMPOSE) exec -T frontend npm run build
|
||||
|
||||
Reference in New Issue
Block a user