- DEVOPS-W-01: Add oliver006/redis_exporter to docker-compose.yml so the existing prometheus.yml scrape job (redis-exporter:9121) resolves - DEVOPS-W-04: Add redis-sentinel.yaml with Redis Sentinel HA setup (1 master StatefulSet + 2 replica StatefulSet + 3 sentinel pods) replacing the single-instance SPOF redis.yaml in staging K8s - DEVOPS-W-05: Add network-policy.yaml with default-deny-all NetworkPolicy + explicit allow rules for inter-service, Traefik ingress, Redis access, Prometheus scrape, and external egress (Neon PostgreSQL, AMQP) - DEVOPS-M-01: Add aquasecurity/trivy-action to docker-build.yml to scan every built image for CRITICAL/HIGH CVEs; results uploaded to GitHub Security tab via SARIF Co-Authored-By: Paperclip <noreply@paperclip.ing>
Local Development Deployment
Docker Compose configuration for running the GoodGo platform locally.
Quick Start
# Setup environment
cp env.local.example .env
cp env.local.example .env.local
# Update all placeholder secrets/connection strings in both files
# before starting the stack.
# Start platform
docker-compose up -d
# View status
docker-compose ps
Access
- Traefik Dashboard: http://localhost:8080
- Auth Service: http://localhost/api/v1/auth
- Web Admin: http://admin.localhost (currently disabled)
- Web Client: http://localhost (currently disabled)
Documentation
For detailed documentation, see:
- English: docs/en/guides/local-deployment.md
- Vietnamese: docs/vi/guides/local-deployment.md
Files
docker-compose.yml- Service orchestrationenv.local.example- Sanitized environment variables template.env- Docker Compose interpolation file (fill with real values).env.local- Local override file (fill with real values)
Common Commands
docker-compose up -d # Start all
docker-compose logs -f [service] # View logs
docker-compose down # Stop all
docker-compose ps # Check status
For troubleshooting and advanced usage, see the full documentation above.