Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 1.08 KB

File metadata and controls

62 lines (43 loc) · 1.08 KB

Deployment

Docker

Build and Run

# Build and start all services
make docker-up

# Stop all services
make docker-down

Services

Service Port Description
API 8080 Go API server
PostgreSQL 5432 Database
Redis 6379 Cache
NATS 4222 Messaging
Jaeger 16686 Tracing UI
Prometheus 9090 Metrics
Grafana 3000 Dashboards

Production

Environment Variables

Set all required environment variables (see .env.example).

Database

make migrate-up
make seed

Build

make build

Run

./bin/go-codebase

Health Checks

  • Health: GET /health - Returns 200 if service is running
  • Readiness: GET /ready - Returns 200 if service is ready to accept traffic

Monitoring