feat: add HAproxy and 2 api instances
This commit is contained in:
@@ -8,7 +8,7 @@ TLS_ARGS = $(if $(CA_FILE),--ca-file "$(CA_FILE)",)
|
||||
.PHONY: help app-up app-down app-logs app-status test-backend test-baseline test-baseline-persistence check validate test load test-persistence test-failover
|
||||
|
||||
help:
|
||||
@echo "app-up: prepare local environment, build and start API, PostgreSQL, Redis and frontend"
|
||||
@echo "app-up: prepare local environment, migrate, build and start HAProxy, two API replicas, PostgreSQL, Redis and frontend"
|
||||
@echo "app-down: stop application; keep database and session volumes"
|
||||
@echo "app-logs / app-status: inspect application"
|
||||
@echo "test-backend: Go race tests against PostgreSQL and Redis"
|
||||
@@ -17,6 +17,7 @@ help:
|
||||
|
||||
app-up:
|
||||
$(PYTHON) scripts/init_env.py
|
||||
chmod +x scripts/restart.sh scripts/stop-one.sh
|
||||
$(COMPOSE) up -d --build --wait
|
||||
|
||||
app-down:
|
||||
|
||||
Reference in New Issue
Block a user