Some checks failed
Master CI / yarn_install_and_build (push) Has been cancelled
- Add Dockerfile.unraid with multi-stage build (builds inside container) - Add docker-compose.unraid.yml for easy deployment - Add build-and-push.sh script for building and pushing to Gitea registry - Update root redirect to /unraid dashboard Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
35 lines
970 B
YAML
35 lines
970 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
homarr-unraid:
|
|
image: git.xtrm-lab.org/jazzymc/homarr:latest
|
|
container_name: homarr-unraid-ui
|
|
restart: unless-stopped
|
|
ports:
|
|
- "7576:7575"
|
|
environment:
|
|
# Unraid API Configuration
|
|
- UNRAID_HOST=192.168.10.20
|
|
- UNRAID_API_KEY=${UNRAID_API_KEY}
|
|
- UNRAID_USE_SSL=false
|
|
- UNRAID_PORT=80
|
|
# App Configuration
|
|
- TZ=Europe/Sofia
|
|
- DATABASE_URL=file:/data/db.sqlite
|
|
- AUTH_TRUST_HOST=true
|
|
- NEXTAUTH_URL=http://192.168.10.20:7576
|
|
- NEXTAUTH_SECRET=${NEXTAUTH_SECRET:-changeme}
|
|
volumes:
|
|
- /mnt/user/appdata/homarr-unraid/data:/data
|
|
- /mnt/user/appdata/homarr-unraid/configs:/app/data/configs
|
|
networks:
|
|
- unraid-net
|
|
labels:
|
|
- "net.unraid.docker.managed=true"
|
|
- "net.unraid.docker.icon=https://homarr.dev/img/logo.png"
|
|
- "net.unraid.docker.webui=http://[IP]:[PORT:7576]"
|
|
|
|
networks:
|
|
unraid-net:
|
|
driver: bridge
|