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