Skip to content

Commit

Permalink
fix: remove rootless podman guide until validated
Browse files Browse the repository at this point in the history
  • Loading branch information
wrussell1999 authored Nov 27, 2024
1 parent 84d9037 commit 6725f4c
Showing 1 changed file with 0 additions and 42 deletions.
42 changes: 0 additions & 42 deletions content/docs/02.installation/14.podman-compose.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,45 +82,3 @@ Then update `kestra` service in the `docker-compose.yml` file to mount this file
postgres:
condition: service_started
```
## Launch Kestra in Rootless Mode
Use the following command to create a Podman machine in rootless mode.
```bash
podman machine init --cpus 2
podman machine start
```

![podman_rootless](/docs/installation/podman_rootless.png)

### Use a configuration file and start Kestra

Update `kestra` service in the `docker-compose.yml` file to remove the `user: "root"` configuration.

```yaml
# [...]
kestra:
image: kestra/kestra:latest
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" <--- 👀 Comment this line
command: server standalone --worker-thread=128 --config /etc/config/application.yaml
volumes:
- kestra-data:/app/storage
- /var/run/docker.sock:/var/run/docker.sock
- /tmp/kestra-wd:/tmp/kestra-wd
- $PWD/application.yaml:/etc/config/application.yaml
ports:
- "8080:8080"
- "8081:8081"
depends_on:
postgres:
condition: service_started
```
You can now run Kestra in rootless mode and use it for production purposes. From the same directory where the `docker-compose.yml` file is present, run the following command to launch Kestra in rootless mode:

```bash
podman compose up -d
```

0 comments on commit 6725f4c

Please sign in to comment.