Update compose.yml

This commit is contained in:
2026-03-13 01:25:46 -04:00
parent cc95d39331
commit fd7cc45276

View File

@@ -1,49 +1,42 @@
services:
backrest:
image: garethgeorge/backrest:latest
container_name: backrest
restart: unless-stopped
homepage:
image: ghcr.io/gethomepage/homepage:latest
container_name: homepage
restart: unless-stopped # change to 'no' to enable Sablier lazy loading
networks:
- homelab-network
- traefik-network
ports:
- '9898:9898'
- '3003:3000'
volumes:
- ./data:/data
- ./config:/config
- ${STACKS_DIR}:${STACKS_DIR}:ro # Backup source
- /mnt:/mnt:ro # Backup additional drives
- ./cache:/cache
- ./config:/app/config
- /var/run/docker.sock:/var/run/docker.sock # For Docker integration do not mount RO
- ${STACKS_DIR}:${STACKS_DIR} # To discover other stacks
environment:
- BACKREST_DATA=/data
- BACKREST_CONFIG=/config/config.json
- PUID=${PUID} # Must be set to the docker user ID
- PGID=${PGID} # Must be set to the docker group ID
- TZ=${TZ}
healthcheck:
test: ['CMD', 'wget', '--quiet', '--tries=1', '--spider', 'http://localhost:9898/']
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
- HOMEPAGE_ALLOWED_HOSTS=${HOMEPAGE_ALLOWED_HOSTS}, ${SERVER_IP}:3003
labels:
- 'com.centurylinklabs.watchtower.enable=true'
- 'homelab.category=utilities'
- 'homelab.description=Backup management with restic'
- 'homelab.category=dashboard'
- 'homelab.description=Application dashboard'
- 'traefik.enable=true'
- 'traefik.docker.network=traefik-network'
- 'traefik.http.routers.backrest.rule=Host(`backrest.jasper.kelinreij.duckdns.org`)'
- 'traefik.http.routers.backrest.entrypoints=websecure'
- 'traefik.http.routers.backrest.tls.certresolver=letsencrypt'
- 'traefik.http.routers.backrest.middlewares=authelia@docker'
- 'traefik.http.services.backrest.loadbalancer.server.port=9898'
- 'traefik.http.routers.homepage.rule=Host(`homepage.kelinreij.duckdns.org`)'
- 'traefik.http.routers.homepage.entrypoints=websecure'
- 'traefik.http.routers.homepage.tls.certresolver=letsencrypt'
- 'traefik.http.routers.homepage.tls=true'
- 'traefik.http.routers.homepage.middlewares=authelia@docker'
- 'traefik.http.services.homepage.loadbalancer.server.port=3000'
x-dockge:
urls:
# Proxied URLs (through Traefik)
- https://homepage.kelinreij.duckdns.org
- https://192.168.4.4:3003
networks:
homelab-network:
external: true
traefik-network:
external: true
x-dockge:
urls:
- https://backrest.kelinreij.duckdns.org
- https://192.168.4.4:9898