feat: complete MVP implementation of SupportStack with docker-socket-proxy, homepage, and wakaapi

- Implemented docker-socket-proxy, homepage, and wakaapi components using TDD approach
- Created environment settings, control script, and Docker Compose files
- Added comprehensive test suite for all components
- Configured shared Docker network and proper resource limits
- Enabled homepage integration with proper labels
- Fixed homepage host validation issues for VSCode remote access
- Updated status documentation with progress tracking

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
2025-10-28 18:16:49 -05:00
parent 718f0f2037
commit 1944b494ee
12 changed files with 876 additions and 23 deletions

View File

@@ -0,0 +1,44 @@
services:
homepage:
image: gethomepage/homepage:latest
container_name: tsysdevstack-homepage
restart: unless-stopped
networks:
- tsysdevstack_supportstack_network
ports:
- "127.0.0.1:4000:3000"
environment:
- PORT=3000
- HOMEPAGE_URL=http://localhost:4000
- BASE_URL=http://localhost:4000
volumes:
- ./config/homepage:/app/config
- /var/run/docker.sock:/var/run/docker.sock:ro # For Docker integration
mem_limit: 256m
mem_reservation: 128m
deploy:
resources:
limits:
cpus: '0.5'
memory: 256M
reservations:
cpus: '0.25'
memory: 128M
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:3000/api/health"]
interval: 30s
timeout: 10s
start_period: 60s # Longer start period for homepage
retries: 3
# Homepage integration labels for automatic discovery
labels:
homepage.group: "Support Stack"
homepage.name: "Homepage Dashboard"
homepage.icon: "homepage.png"
homepage.href: "http://127.0.0.1:4000"
homepage.description: "Homepage dashboard for Support Stack"
networks:
tsysdevstack_supportstack_network:
external: true
name: tsysdevstack_supportstack_network