Skip to content

Commit 522b545

Browse files
chore: cleanup readme
Signed-off-by: Erik Eriksson <erik.eriksson@digg.se>
1 parent 6c54f88 commit 522b545

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,22 +157,21 @@ If you need to add a new application to the Docker Compose setup, its image must
157157
* **option 1**: Podman desktop <https://podman-desktop.io/>
158158
* **option 2**: Headless: <https://github.com/containers/podman-compose>
159159
160-
"Trick" traefik to use the rootless podman.sock *`( XDG_RUNTIME_DIR = /run/user/${UID} )`* by mounting it
161-
to docker.sock in the container (ro= read-only mode).
162160
163-
Set `PODMAN_SOCK` to point to the rootless socket before running compose:
161+
Set `PODMAN_SOCK` in `.env` file to point to the rootless socket before running compose:
164162
165163
```env
166164
PODMAN_SOCK=/run/user/1000/podman/podman.sock
167165
```
168166
169-
Or export it inline:
167+
Or export it inline: `( XDG_RUNTIME_DIR = /run/user/${UID} )`
170168
171169
```sh
172170
export PODMAN_SOCK=${XDG_RUNTIME_DIR}/podman/podman.sock
173171
```
174172
175173
The compose file uses this variable with a fallback to the default Docker socket (used on CI/GH runners):
174+
Pointing the container docker.sock to the host podman.sock (read-only-mode)
176175
177176
```yaml
178177
traefik:

0 commit comments

Comments
 (0)