docker-compose.yml 671 B

123456789101112131415161718192021222324252627282930
  1. services:
  2. resticinfo:
  3. image: resticinfo
  4. container_name: resticinfo
  5. build:
  6. context: .
  7. dockerfile: Dockerfile
  8. network: host
  9. restart: always
  10. environment:
  11. - PUID=1000
  12. - PGID=1000
  13. - TZ=${TZ:-Europe/Berlin}
  14. volumes:
  15. - /var/lib/restic:/tmp
  16. ports:
  17. - 5005:5005
  18. dns:
  19. - "9.9.9.9"
  20. labels:
  21. - "traefik.enable=true"
  22. - "traefik.http.services.resticinfo.loadbalancer.server.port=5005"
  23. - "traefik.http.routers.resticinfo.rule=Host(`resticinfo.local`)"
  24. - "traefik.http.routers.resticinfo.entrypoints=web"
  25. networks:
  26. - proxy
  27. networks:
  28. proxy:
  29. external: true