traefik / traefik-migration-tool

A migration tool from Traefik v1 to Traefik v2
https://docs.traefik.io/migration/v1-to-v2/
Apache License 2.0
151 stars 35 forks source link

Add Workdir /data to image #14

Closed vegasbrianc closed 2 years ago

vegasbrianc commented 4 years ago

In the example documentation and image, it asks that you mount the volume ${PWD}:/data in order to copy local content into the Docker image. However, the default commands don't work static, acme, and ingress as they run the command from the / of the container and not the working Dir `/data``

I've now defaulted the Working Dir to /data

kevinpollet commented 2 years ago

Hello @vegasbrianc and thanks for your interest in Traefik,

In the documentation, the data volume name is just an example and one could use another name. Even with the proposed changes, the default commands will not work. We thought that it is better to update the documentation and specify the working dir in the command line.

According to this, we will close this PR in favour of #27