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

Use the 'node' user instead of root while running in a container #1894

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

camporter
Copy link
Contributor

Description

Rather than running lemmy-ui as the root user in the container, run it as the node user provided by the node runner image.

Screenshots

N/A

Before

The node process runs as root, which should be avoided if possible.

After

The node lemmy-ui process runs as the node user.

@dessalines dessalines merged commit 462bdb1 into LemmyNet:main Jul 10, 2023
@camporter camporter deleted the nonroot_docker_user branch July 10, 2023 16:53
makotech222 added a commit to hexbear-collective/lemmy-ui that referenced this pull request Jul 13, 2023
@makotech222
Copy link
Contributor

This one killed my 'docker compose up' run on our server, just fyi. dunno why, just removed it.

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

Successfully merging this pull request may close these issues.

5 participants