fc765fa255
Add mcp matrix entry in docker-publish workflow so the MCP server image is built and pushed alongside backend/frontend. Also wire the prebuilt compose file so users can pull and run it directly. Closes #162
47 lines
855 B
YAML
47 lines
855 B
YAML
services:
|
|
backend:
|
|
image: ghcr.io/pouzor/homelable-backend:latest
|
|
restart: unless-stopped
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
SQLITE_PATH: /app/data/homelab.db
|
|
CORS_ORIGINS: '["http://localhost:3000"]'
|
|
volumes:
|
|
- backend_data:/app/data
|
|
networks:
|
|
- homelable
|
|
cap_add:
|
|
- NET_RAW
|
|
|
|
frontend:
|
|
image: ghcr.io/pouzor/homelable-frontend:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3000:80"
|
|
depends_on:
|
|
- backend
|
|
networks:
|
|
- homelable
|
|
|
|
mcp:
|
|
image: ghcr.io/pouzor/homelable-mcp:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8001:8001"
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
BACKEND_URL: "http://backend:8000"
|
|
depends_on:
|
|
- backend
|
|
networks:
|
|
- homelable
|
|
|
|
volumes:
|
|
backend_data:
|
|
|
|
networks:
|
|
homelable:
|
|
driver: bridge
|