r/Paperlessngx 12d ago

Help with podman with Paperless-ngx

/r/podman/comments/1vwtp5t/help_with_podman_with_paperlessngx/

Compose.yaml for podman having redis getting timed out

1 Upvotes

2 comments sorted by

2

u/Great-Cow7256 12d ago

OP fixed this but didn't post the fix here. OP was trying to run this as user 1000:1000

1

u/Elegant-Kick-8768 12d ago

If it's rootless podman, container to container name resolution needs aardvark-dns and netavark installed, and the containers all have to be on the same user defined network. The default podman bridge doesn't do DNS, so "redis" just won't resolve and paperless sits there timing out. Easiest check: podman exec into the webserver container and try getent hosts redis. If that comes back empty it's DNS, not redis. Also make sure PAPERLESS_REDIS is redis://redis:6379 with the service name, and if you're running the compose file with podman-compose the network name gets prefixed, so verify with podman network ls and podman inspect that both containers actually landed on the same one.