6a7113193f
- Build and push backend/frontend images to ghcr.io on every push to main and on version tags - Add docker-compose.prebuilt.yml for pull-based install (no clone needed) - Update README Quick Start with inline install one-liner using prebuilt images
33 lines
592 B
YAML
33 lines
592 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
|
|
|
|
volumes:
|
|
backend_data:
|
|
|
|
networks:
|
|
homelable:
|
|
driver: bridge
|