Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run traefik as non-root user #2217

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Run traefik as non-root user #2217

wants to merge 3 commits into from

Conversation

jayfk
Copy link
Collaborator

@jayfk jayfk commented Sep 7, 2019

This has been brought up by @westurner, original issue is #1992

The PR adds a non-root user traefik and a traefik group and runs the container as this user. This makes it consistent with what we have in compose/production/django/Dockerfile.

Care to give it a spin @westurner?

@westurner
Copy link
Contributor

westurner commented Sep 7, 2019 via email

@westurner
Copy link
Contributor

westurner commented Sep 7, 2019 via email

Copy link
Member

@browniebroke browniebroke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just tested this and it works like a charm ✨

Thanks for taking the time to fix this 🙌

@westurner
Copy link
Contributor

westurner commented Sep 13, 2019 via email

@westurner
Copy link
Contributor

westurner commented Sep 13, 2019 via email

@browniebroke
Copy link
Member

We're releasing Traefik 1.7.15 to fix the issue. In the meantime, we
strongly recommend that you set the TLS.minVersion option to TLS 1.2 on the
entrypoint configuration

Thank you for this, but it seems like a separate issue than the one being fixed here. Can it be tracked separately?

@jayfk are we ok to merge this one? LGTM

@jayfk
Copy link
Collaborator Author

jayfk commented Sep 25, 2019

@jayfk are we ok to merge this one? LGTM

We might need to put a hold on this for now. I've seen some strange redirects happening running the config. We might need to add the redirect rules @westurner referenced on the original issue.

Once I have a bit more time, I'll investigate.

# Conflicts:
#	{{cookiecutter.project_slug}}/compose/production/traefik/Dockerfile
#	{{cookiecutter.project_slug}}/compose/production/traefik/traefik.toml
@Andrew-Chen-Wang
Copy link
Contributor

Is this still an issue? Linked to #2542?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants