media-server-docker-compose/dashboard/docker-compose.yml
2024-04-28 01:43:53 -04:00

39 lines
1.1 KiB
YAML

services:
homarr:
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
- ${CONFIG_LOCATION}/homarr:/app/data/configs
- ${DATA_LOCATION}/homarr/icons:/app/public/icons
- ${DATA_LOCATION}/homarr:/data
environment:
- VIRTUAL_HOST=homarr.${DOMAIN}, ${DOMAIN}, www.${DOMAIN}
- LETSENCRYPT_HOST="homarr.${DOMAIN}, ${DOMAIN}, www.${DOMAIN}"
- LETSENCRYPT_EMAIL=${EMAIL}
expose:
- "7575"
ports:
- '7575:7575'
dashdot:
image: mauricenino/dashdot
container_name: dashdot
restart: unless-stopped
privileged: true
environment:
- VIRTUAL_HOST=dash.${DOMAIN}
- DASHDOT_ENABLE_CPU_TEMPS=true
- DASHDOT_FS_DEVICE_FILTER=sda,sdb,sdc,sdd,sde,sdf
- DASHDOT_FS_VIRTUAL_MOUNTS=tank/storage/media, psb29404@psb29404.seedbox.io:/files
expose:
- "3001"
ports:
- 3001:3001
volumes:
- /:/mnt/host:ro
networks:
default:
name: nginx-proxy
external: true