D
Dokployโ€ข4mo ago
Dom

[SOLVED] Domain mapping difficulties with Paperless-ngx

I'm trying to setup Paperless with Dokploy and it seems to work just fine. (I'm using one of the docker-compose files from the repo (https://github.com/paperless-ngx/paperless-ngx/blob/dev/docker/compose/docker-compose.postgres.yml) and just adding the env variables into the env section. It deploys but and I can access it on the port 8000 when using the IP, but when adding the domain to it, I always get a 404. I tried different domains and changing ports, but no to avail. Should I try and setup the traefik labels up myself maybe? Has anyone tried this before? I think i'm missing something obvious.
GitHub
paperless-ngx/docker/compose/docker-compose.postgres.yml at dev ยท p...
A community-supported supercharged version of paperless: scan, index and archive all your physical documents - paperless-ngx/paperless-ngx
7 Replies
Dom
DomOPโ€ข4mo ago
Thanks! So far no luck, but I'll that ๐Ÿ™‚
DJKnaeckebrot
DJKnaeckebrotโ€ข4mo ago
How exactly did you set it up? If you can post the full compose and a screen of the url I can take a look
Dom
DomOPโ€ข4mo ago
I was able to make it work! ๐Ÿ™‚ I think my issue was that I also did not really understand a couple of things with traeffik, while also not waiting long enough for it to install itself. (Looking at migrations running in the logs). My final docker-compose looks like this and i just entered the domain with the dokploy gui.
Dom
DomOPโ€ข4mo ago
Dom
DomOPโ€ข4mo ago
Maybe I should've put the env data into the environment section, but I figured this would be easier.
DJKnaeckebrot
DJKnaeckebrotโ€ข4mo ago
Yeah you should consider moving that. Also i would not recommend using
ports:
- "8000:8000"
ports:
- "8000:8000"
as this prob. will lead to port conflicts later on.

Did you find this page helpful?