79 lines
2.1 KiB
YAML
79 lines
2.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=${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}
|
|
- LETSENCRYPT_HOST=dash.${DOMAIN}
|
|
- LETSENCRYPT_EMAIL=${EMAIL}
|
|
- 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
|
|
prometheus:
|
|
image: prom/prometheus
|
|
container_name: prometheus
|
|
user: '0'
|
|
command:
|
|
- '--config.file=/etc/prometheus/prometheus.yml'
|
|
ports:
|
|
- 9090:9090
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ${CONFIG_LOCATION}/prometheus:/etc/prometheus
|
|
- ${DATA_LOCATION}/prometheus:/prometheus
|
|
node_exporter:
|
|
image: quay.io/prometheus/node-exporter:latest
|
|
container_name: node_exporter
|
|
command:
|
|
- '--path.rootfs=/host'
|
|
ports:
|
|
- 9100:9100
|
|
pid: host
|
|
restart: unless-stopped
|
|
volumes:
|
|
- '/:/host:ro,rslave'
|
|
grafana:
|
|
image: grafana/grafana-enterprise
|
|
container_name: grafana
|
|
restart: unless-stopped
|
|
user: '0'
|
|
environment:
|
|
- GF_SERVER_ROOT_URL=https://grafana.${DOMAIN}
|
|
- GF_INSTALL_PLUGINS=grafana-clock-panel
|
|
- VIRTUAL_HOST=grafana.${DOMAIN}
|
|
- LETSENCRYPT_HOST=grafana.${DOMAIN}
|
|
- LETSENCRYPT_EMAIL=${EMAIL}
|
|
volumes:
|
|
- ${CONFIG_LOCATION}/grafana:/var/lib/grafana
|
|
ports:
|
|
- '3003:3000'
|
|
networks:
|
|
default:
|
|
name: nginx-proxy
|
|
external: true
|