feat: implement docker infrastructure (US-001)

- Add docker-compose.yml with postgres, redis, api, and web services
- Add multi-stage Dockerfile for API (Python 3.11)
- Add multi-stage Dockerfile for web (Node.js 20 + nginx)
- Add Makefile with common development commands
- Add .env.example with all required environment variables
- Add placeholder pyproject.toml and package.json for builds
- Configure health checks for all services
- Setup persistent volumes for postgres, redis, and repos
- Run services as non-root users
This commit is contained in:
2026-05-16 17:44:39 +00:00
parent 212d072417
commit e7819bfc82
246 changed files with 3625 additions and 17311 deletions
-28
View File
@@ -1,28 +0,0 @@
import { useAuthStore } from '../stores/auth'
export default function DashboardPage() {
const { user } = useAuthStore()
return (
<div className="p-6">
<h1 className="text-3xl font-bold mb-4">Dashboard</h1>
<p className="text-lg mb-4">
Welcome back, {user?.display_name || user?.email || 'User'}!
</p>
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
<div className="p-4 rounded-lg border border-border bg-surface">
<h2 className="text-xl font-semibold mb-2">Projects</h2>
<p className="text-gray-400">Manage your projects and repositories</p>
</div>
<div className="p-4 rounded-lg border border-border bg-surface">
<h2 className="text-xl font-semibold mb-2">Tools</h2>
<p className="text-gray-400">Spawn and manage development tools</p>
</div>
<div className="p-4 rounded-lg border border-border bg-surface">
<h2 className="text-xl font-semibold mb-2">Settings</h2>
<p className="text-gray-400">Configure your account and preferences</p>
</div>
</div>
</div>
)
}