docker-compose
Opened this issue · 2 comments
gerisse commented
I try to run this docker image with traefik, but without succes
i think the problem is cause by the esposed port in your container, 8080, that is also the port used by traefik
is it possible to change the port 8080 ?
thanks
ps :my traefik container works always with ssl ecrynption (Lets'encrypt certificat)
wernight commented
Yes of course. It's standard docker. Same as for any container via -p
…On Wed, 4 Oct 2017, 20:53 gerisse, ***@***.***> wrote:
I try to run this docker image with traefik, but without succes
i think the problem is cause by the esposed port in your container, 8080,
that is also the port used by traefik
is it possible to change the port 8080 ?
thanks
ps :my traefik container works always with ssl ecrynption (Lets'encrypt
certificat)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAI5A3rW9y8NBlp1mfVRvg0FxWGcavu3ks5so9QLgaJpZM4PuEnO>
.
saytosid commented
You can map it to a different port using:
ports:
- 1234:8080
Or better, don't bind a port from this image to the host but just expose it and tell traefik to redirecto to the exposed port. This way is more secure as now external connections cannot come to this container directrly