Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d4bf293

Browse files
authored
document running windmil as non-root (windmill-labs#871)
1 parent d92fad3 commit d4bf293

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/advanced/1_self_host/index.mdx

+4
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,10 @@ Set environment variable DENO_TLS_CA_STORE=system,mozilla in docker-compose.yml
586586

587587
Set REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt & SSL_CERT_FILE with the same value in the worker’s environment variables.
588588

589+
## Running Windmill as non-root user
590+
591+
Certain cloud providers require containers to be run as non-root users. For these cases you can use the `windmill` user (uid/gid 1000) or run it as any other non-root user by passing the `--user windmill` argument. For the [windmill helm chart](https://github.com/windmill-labs/windmill-helm-charts/tree/main/charts/windmill), you can pass the `runAsUser` or `runAsNonRoot` in the `podSecurityContext`.
592+
589593
<!-- Resources -->
590594

591595
[caddy]: https://caddyserver.com/

0 commit comments

Comments
 (0)