services:
restic2html:
image: restic2html
container_name: restic2html
build:
context: .
dockerfile: Dockerfile
restart: always
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
volumes:
- /tmp:/tmp
ports:
- 5001:5001
environment:
- TZ=${TZ:-Europe/Berlin}
labels:
- "traefik.enable=true" # <== Enable traefik on itself to view dashboard and assign subdomain to view it
- "traefik.http.services.resticinfo.loadbalancer.server.port=5001"
- "traefik.http.routers.resticinfo.rule=Host(`resticinfo.local`)"
networks:
- proxy
networks:
proxy:
external: true