Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,33 @@ services:
- ./ca-ssl:/etc/puppetlabs/puppetserver/ca
```

### Permissions

#### Podman

When using Podman, make sure the container runs with the correct permissions. The OpenVox Server process starts as `root` and then drops privileges to the `puppet` user.
This can lead to permission issues with bind mounts or volumes, especially for the OpenVox SSL and CA directories, for example:

```shell
-v ./openvoxserver-ssl:/etc/puppetlabs/puppet/ssl
-v ./openvoxserver-ca:/etc/puppetlabs/puppetserver/
```

To avoid this, you can run Podman with user namespace mapping enabled: `--userns=keep-id`. With `podman-compose`, use:

```shell
PODMAN_USERNS=keep-id podman-compose up
```

This approach works best when using named volumes.

If that doesn’t work in your setup, you can mount a custom script directory to `/container-custom-entrypoint.d/` and place a script there which adjusts permissions on the mounted directories.
These scripts are executed on container startup, before the OpenVox Server process is launched.

#### Docker

These issues have not occurred with Docker so far.

## How to Release the container

[see here](RELEASE.md)
Expand Down
Loading