Skip to content

Commit 2c02dbc

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

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,19 +160,20 @@ If you need to add a new application to the Docker Compose setup, its image must
160160
"Trick" traefik to use the rootless podman.sock *`( XDG_RUNTIME_DIR = /run/user/${UID} )`* by mounting it
161161
to docker.sock in the container (ro= read-only mode).
162162
163-
Set `PODMAN_SOCK` to point to the rootless socket before running compose:
163+
Set `PODMAN_SOCK` in `.env` file to point to the rootless socket before running compose:
164164
165165
```env
166166
PODMAN_SOCK=/run/user/1000/podman/podman.sock
167167
```
168168
169-
Or export it inline:
169+
Or export it inline: `( XDG_RUNTIME_DIR = /run/user/${UID} )`
170170
171171
```sh
172172
export PODMAN_SOCK=${XDG_RUNTIME_DIR}/podman/podman.sock
173173
```
174174
175175
The compose file uses this variable with a fallback to the default Docker socket (used on CI/GH runners):
176+
Pointing the container docker.sock to the host podman.sock (read-only-mode)
176177
177178
```yaml
178179
traefik:

0 commit comments

Comments
 (0)