acouvreur / traefik-ondemand-service

Traefik ondemand service for the traefik ondemand plugin

Home Page:https://pilot.traefik.io/plugins/605afbdba5f67ab9a1b0e53a/containers-on-demand

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

-storagePath option is not working

flargargoyl opened this issue · comments

having this as my compose:

  ondemand:
    image: ghcr.io/acouvreur/traefik-ondemand-service:1
    <<: *common-keys-core
    container_name: ondemand
    command: 
      - --swarmMode=false
      - --storagePath=/data/storage
    volumes:
      - '/var/run/docker.sock:/var/run/docker.sock'
      - /etc/localtime:/etc/localtime:ro
      - ${DOCKERDIR}/ondemand:/data

container fails to start, with this error:
flag provided but not defined: -storagePath
Usage of /go/bin/ondemand-service:
-kubernetesMode
Enable Kubernetes mode
-swarmMode
Enable swarm mode (default true)

Starts okay if -Storage Path not used in the configuration.

Maybe you should re-pull the image, or specify 1.8 or 1.8.0 tag.

weird, ive got the image just today but re-pulling with 1.8.0 tag seems to have helped.
Thanks