๐Ÿ’ฐ
๐Ÿณ v2.0 โ€” Multi-VPS ๐Ÿณ Docker โšก Agent Mode

Container Cost

Docker container cost allocation tool that calculates and monitors
how much each container costs across one or many VPS instances.
Agent + Central Server architecture.

โœจ Key Features

What Container Cost brings to your infrastructure

๐Ÿ“Š

Multi-VPS Dashboard

See total cost, per-container breakdown, and trends from all VPS in one central dashboard.

๐Ÿค–

Agent Mode

Deploy lightweight agents on each VPS. They calculate costs locally and push to central server.

๐Ÿงฎ

Weighted Cost Formula

Fair allocation based on actual resource usage: CPU 50%, RAM 40%, Storage 10%.

๐Ÿ”

Role-based Auth

Three roles: Admin, Engineer, Management โ€” different access levels.

๐Ÿ–ฅ๏ธ

VPS Management

Add/remove VPS from dashboard, auto-generate API keys, online/offline monitoring.

๐Ÿš€

One-liner Deploy

Deploy agents on new VPS with a single curl ... | bash command.

โšก Quick Install

Get started in 5 minutes

Central Server

# 1. Clone & start with PostgreSQL
git clone https://github.com/edsuwarna/container-cost.git
cd container-cost
docker compose up -d

# 2. Open dashboard
# http://localhost:8081
# Login: admin / admin123

# 3. Add VPS โ†’ deploy agent
curl -fsSL https://raw.githubusercontent.com/edsuwarna/container-cost/
main/deploy/setup-agent.sh | bash -s -- \\
  --server=http://YOUR_IP:8080 \\
  --api-key=YOUR_API_KEY

# 4. Monitor everything from dashboard

๐Ÿ“š Documentation

Browse by category โ€” each topic is a separate page