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

Documentation missing for production docker-compose deployment of Kestra without root #4371

Closed
kryptonut opened this issue Jul 21, 2024 · 5 comments · Fixed by kestra-io/docs#1617
Labels
documentation Improvements or additions to documentation

Comments

@kryptonut
Copy link

Describe the issue

In the documentation and example YAML file for docker-compose:
https://github.com/kestra-io/kestra/blob/releases/v0.17.x/docker-compose.yml
https://github.com/kestra-io/kestra/blob/develop/docker-compose.yml

There is a comment that says:

Note that this is meant for development only. Refer to the documentation for production deployments of Kestra which runs without a root user.

I am unable to find documentation for production deployments of Kestra which runs without a root user in the website documentation. All examples run as root.

Environment

  • Kestra Version: N/A
  • Operating System (OS/Docker/Kubernetes): docker-compose
  • Java Version (if you don't run kestra in Docker): N/A
@kryptonut kryptonut added the bug Something isn't working label Jul 21, 2024
@anna-geller anna-geller added documentation Improvements or additions to documentation and removed bug Something isn't working labels Jul 23, 2024
@anna-geller
Copy link
Member

this one is rootless but more complex https://github.com/kestra-io/kestra/blob/develop/docker-compose-dind.yml

feel free to contribute

@kryptonut
Copy link
Author

@anna-geller that file contains the same comment and code

kestra:
    image: kestra/kestra:latest-full
    pull_policy: always
    # Note that this is meant for **development only. Refer to the documentation for production deployments** of Kestra which runs without a root user.
    **user: "root"**

@anna-geller
Copy link
Member

sorry for misunderstanding but what was meant was this part that you can replicate in your kestra image https://github.com/kestra-io/kestra/blob/develop/docker-compose-dind.yml#L26-L37

are you open to contribute a new docker compose? you can add it e.g. as https://github.com/kestra-io/kestra/blob/develop/docker-compose-rootless.yml

@anna-geller anna-geller reopened this Jul 23, 2024
@kryptonut
Copy link
Author

Thanks @anna-geller, I'll give it a go when I'm free.

@kryptonut
Copy link
Author

Just an update....I've attempted to set this up, but I'm running into issues with dind. Will have to sort that out before I can see if I can get the stack up and running without root.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants