-
To ReproduceDescription Troubleshooting So Far
Current vs. Expected behaviorTraefik should route Provide environment informationEnvironment
• Raspberry Pi 5, Raspberry Pi OS Lite (64-bit)
• Dokploy v0.24.0
• Traefik v3.1.2
• Cloudflared image: cloudflare/cloudflared:latest
• Documenso image: dokumenso/documenso:latest
• Postgres image: postgres:16 Which area(s) are affected? (Select all that apply)Docker, Traefik, Docker Compose, Application, Installation Are you deploying the applications where Dokploy is installed or on a remote server?Same server where Dokploy is installed Additional contextDocumenso: services:
postgres:
image: postgres:16
restart: unless-stopped
environment:
- POSTGRES_USER=${POSTGRES_USER:?err}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:?err}
- POSTGRES_DB=${POSTGRES_DB:?err}
expose:
- "5432"
ports:
- "5434:5432"
networks:
- dokploy-network
volumes:
- documenso-data:/var/lib/postgresql/data
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U ${POSTGRES_USER}']
interval: 10s
timeout: 5s
retries: 5
documenso:
image: documenso/documenso:latest
restart: unless-stopped
user: "root"
depends_on:
postgres:
condition: service_healthy
environment:
- PORT=${PORT:-3000}
- (And all other env's)
expose:
- "${PORT}"
networks:
- dokploy-network
volumes:
- /home/Levi/documenso/certificate.p12:/opt/documenso/cert.p12
volumes:
documenso-data:
networks:
dokploy-network:
external: true Cloudflared: services:
cloudflared:
image: 'cloudflare/cloudflared:latest'
network_mode: host
restart: unless-stopped
environment:
- 'TUNNEL_TOKEN=${CLOUDFLARE_TUNNEL_TOKEN}'
command: [
"tunnel",
"--no-autoupdate",
"run"
] Traefik File System has been left to default Cloudflare DNS: https://sign.vexelstudios.com/ Also, I have managed to make this work with Nginx Proxy Manager. That was just straightforward add a Reverse Proxy pointing to local ip + port and the sign.vexelstudios.com host. Will you send a PR to fix it?No |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
I am going to transfer this to discussions, I have no experience with cloudflare tunnels, so I am sorry for not guiding you in this case. |
Beta Was this translation helpful? Give feedback.
-
@InvixGG in your original post you said traefik was in host mode, if you mean you set network_mode: host, then it is not in any docker network and so has no access to any containers using traditional docker dns, you would need to use server.url in labels with container ip address if you're running a tunnel my suggestion is this
hope that helps ps i also notice in one image you had port 3001 for container but in other you had default of 3000 (it might be nothing) |
Beta Was this translation helpful? Give feedback.
OK so if it's running on 3000 then that is causing your issues
So just change to port 3000
Then On your host can you run
curl -v -H "host: sign.vexelstudios.com" http://localhost