docker-compose.yml 802 B

1234567891011121314151617181920212223242526272829
  1. services:
  2. # https://hub.docker.com/r/linuxserver/dokuwiki
  3. restic2html:
  4. image: restic2html
  5. container_name: restic2html
  6. build:
  7. context: .
  8. dockerfile: Dockerfile
  9. restart: always
  10. environment:
  11. - PUID=1000
  12. - PGID=1000
  13. - TZ=${TZ:-Europe/Berlin}
  14. volumes:
  15. - ./tmp:/tmp
  16. ports:
  17. - 5000:80
  18. labels:
  19. - "traefik.enable=true" # <== Enable traefik on itself to view dashboard and assign subdomain to view it
  20. - "traefik.http.services.dokuwiki.loadbalancer.server.port=80"
  21. - "traefik.http.routers.dokuwiki.rule=Host(`resticinfo.local`)"
  22. # - "traefik.http.routers.dokuwiki.tls.certResolver=cloudflare"
  23. # - "traefik.http.routers.dokuwiki.tls=true"
  24. networks:
  25. - proxy
  26. networks:
  27. proxy:
  28. external: true