Frequently Asked Questions
General
What is the Coderz Stack?
What is the Coderz Stack?
109.199.120.120). It bundles monitoring, logging, orchestration, API management, database, load testing, and Kubernetes — all managed via Docker Compose.Where is everything installed?
Where is everything installed?
/opt/coderz/:docker-compose.yml— main service definitionsconfigs/— per-service configuration files/opt/mintlify-docs/— this documentation site
How do I start or stop the entire stack?
How do I start or stop the entire stack?
How do I check if all services are healthy?
How do I check if all services are healthy?
running or healthy. If a container shows restarting, check its logs:How do I update a service to a newer image?
How do I update a service to a newer image?
Access & Credentials
What are the default credentials for each service?
What are the default credentials for each service?
| Service | URL | Username | Password |
|---|---|---|---|
| Grafana | http://109.199.120.120:3000 | admin | coderz123 |
| pgAdmin | http://109.199.120.120:5080 | admin@coderz.dev | coderz123 |
| Kibana | http://109.199.120.120:5601 | — | — |
| Prefect UI | http://109.199.120.120:4200 | — | — |
| Prometheus | http://109.199.120.120:9090 | — | — |
| k6 Runner | http://109.199.120.120:9000 | — | — |
| .NET API | http://109.199.120.120:5050 | — | — |
| Web API | http://109.199.120.120:8888 | — | — |
How do I access the server via SSH?
How do I access the server via SSH?
What are the PostgreSQL database credentials?
What are the PostgreSQL database credentials?
| Field | Value |
|---|---|
| Host | 109.199.120.120 |
| Port | 5433 |
| Database | coderapi |
| Username | coderapi |
| Password | coderapi_2024 |
http://109.199.120.120:5080 — both databases are pre-loaded.Monitoring & Alerting
What monitoring dashboards are available in Grafana?
What monitoring dashboards are available in Grafana?
- Coderz Stack Home — all-in-one overview (CPU, RAM, Disk, Docker top containers)
- Server Overview — Node Exporter metrics (CPU, RAM, Disk, Network, Load Average)
- Docker Containers — cAdvisor per-container metrics
- .NET API Full Stack — request metrics + PostgreSQL
- Prefect Flows Overview — flow completions, failures, and live logs
- Container Logs — Loki log viewer
- Alerts Status — active alert state panels
- Kubernetes (k3s) Overview — pod/node/deployment status
What alerts are configured?
What alerts are configured?
| Alert | Threshold | Evaluation Window |
|---|---|---|
| High CPU Usage | > 80% | 5 minutes |
| High RAM Usage | > 85% | 5 minutes |
| High Disk Usage | > 90% | 5 minutes |
| Low Container Count | < 6 containers running | 2 minutes |
aboodm7med1995@gmail.com via Postfix/Gmail relay.How do I test that email alerts are working?
How do I test that email alerts are working?
Where are Prometheus scrape targets configured?
Where are Prometheus scrape targets configured?
/opt/coderz/configs/prometheus/prometheus.yml then restart Prometheus:Logging
What are the two logging pipelines?
What are the two logging pipelines?
- Loki + Promtail — lightweight, label-based log querying via Grafana. Best for live tailing and quick searches.
- Elasticsearch + Logstash + Kibana (ELK) — full-text search, structured analytics, and saved searches. Best for deep investigation.
How do I search logs in Kibana?
How do I search logs in Kibana?
- Open
http://109.199.120.120:5601 - Go to Discover
- Select a data view:
filebeat-*(system/Docker logs) orlogstash-*(processed logs) - Use KQL to filter — for example:
container.name: "coderz-dotnet-api" and log.level: "error"
How do I query logs in Grafana with Loki?
How do I query logs in Grafana with Loki?
- Open Grafana → Explore
- Select Loki as the datasource
- Use LogQL — for example:
Logstash is not ingesting logs — what do I check?
Logstash is not ingesting logs — what do I check?
- Filebeat not shipping to port
5044— check Filebeat config - Elasticsearch not healthy —
docker compose ps elasticsearch - Pipeline config error — check
/opt/coderz/configs/logstash/
APIs
What APIs are included in the stack?
What APIs are included in the stack?
| API | Port | Language | Description |
|---|---|---|---|
| Web API | 8888 | Python | General-purpose REST API |
| .NET API | 5050 | C# / .NET | Full CRUD API with PostgreSQL backend |
How do I test the .NET API?
How do I test the .NET API?
What does the API Gateway do?
What does the API Gateway do?
- Rate limiting — protects backend APIs from abuse
- Redis caching — caches GET responses to reduce load
- Routing — forwards requests to Web API and .NET API
- SSL termination (if configured)
Database
How do I connect to PostgreSQL?
How do I connect to PostgreSQL?
http://109.199.120.120:5080 — both databases are pre-configured.Or connect via CLI:How do I back up the PostgreSQL database?
How do I back up the PostgreSQL database?
pgAdmin is not loading — what do I do?
pgAdmin is not loading — what do I do?
Orchestration (Prefect)
What scheduled flows are running?
What scheduled flows are running?
| Flow | Schedule | Purpose |
|---|---|---|
| system-health-check | Every 5 min | CPU, RAM, Disk health |
| services-health-check | Every 10 min | Docker service health + email on failure |
| daily-summary-report | Daily at 06:00 UTC | Full stack summary email |
| threshold-alert-check | Every 15 min | Email if CPU/RAM/Disk exceeded |
| weekly-cleanup-report | Sunday at 02:00 UTC | Cleanup + weekly report email |
| k8s-health-check | Every 15 min | k3s pod/node health + email on failure |
| docker-restart-monitor | Every 10 min | Detect container restarts/unhealthy |
How do I trigger a flow manually?
How do I trigger a flow manually?
- Open Prefect UI at
http://109.199.120.120:4200 - Go to Deployments
- Click the deployment → Quick Run
Where are the flow scripts located?
Where are the flow scripts located?
Kubernetes (k3s)
How do I check the k3s cluster status?
How do I check the k3s cluster status?
What is deployed in the cluster?
What is deployed in the cluster?
| Namespace | Workload | Replicas |
|---|---|---|
| coderz | coderz-web (nginx sample app) | 2 |
| kube-system | kube-state-metrics | 1 |
How do I restart a k3s pod?
How do I restart a k3s pod?
How do I uninstall k3s if needed?
How do I uninstall k3s if needed?
Load Testing
How do I run a load test?
How do I run a load test?
http://109.199.120.120:9000, select a scenario, and click Run.Available scenarios:- constant — steady fixed load
- rampup — gradually increasing users
- spike — sudden traffic burst
- stress — high load for extended period
- .NET API specific — dotnet-items, dotnet-crud, dotnet-mixed, dotnet-stress
Where can I see load test results?
Where can I see load test results?
Where is the k6 runner source code?
Where is the k6 runner source code?
Troubleshooting
A container keeps restarting — what do I do?
A container keeps restarting — what do I do?
df -h) and memory (free -h), as resource exhaustion is a common cause.Grafana is not showing data — what do I check?
Grafana is not showing data — what do I check?
- Verify Prometheus is running:
docker compose ps prometheus - Check Prometheus targets:
http://109.199.120.120:9090/targets— all should beUP - Verify the Grafana datasource: Grafana → Connections → Data Sources → test each
- Check Prometheus logs:
docker compose logs prometheus
How do I free up disk space?
How do I free up disk space?
How do I restart the documentation server?
How do I restart the documentation server?
/opt/mintlify-docs/.Loki healthcheck fails — is this expected?
Loki healthcheck fails — is this expected?
grafana/loki:latest image has no shell, so CMD-SHELL healthchecks do not work. The Loki healthcheck has been removed from the Compose file. Verify Loki manually from the host:ready.