-
Notifications
You must be signed in to change notification settings - Fork 76
Description
Hi everyone, I’m trying to run Joal behind Traefik on Unraid but I can’t get WebSocket to work. I’d appreciate any help or advice.
Problem
I’m trying to run Joal behind Traefik on Unraid, but I can’t get the websocket to work properly.
Setup
Joal is installed with the following command:
docker run
-d
--name='joal'
--net='container:GluetunVPN'
--pids-limit 2048
-e TZ="Europe/Paris"
-e HOST_OS="Unraid"
-e HOST_HOSTNAME="Unraid"
-e HOST_CONTAINERNAME="joal"
-e 'TZ'='Europe/Brussels'
-e 'JOAL_SECRET_OBFUSCATION_PATH'='joaleeS8efie'
-e 'JOAL_SECRET_TOKEN'='eikoogei8yohphaph6eiza3EraaChav2jee8lood9iegaing'
-e 'JOAL_PORT'='3965'
-e 'AUTOUPGRADE'='0'
-e 'UID'='99'
-e 'GID'='100'
-l net.unraid.docker.managed=dockerman
-l net.unraid.docker.webui='http://192.168.100.218:[PORT:3965]/joaleeS8efie/ui/'
-l net.unraid.docker.icon='https://raw.githubusercontent.com/anthonyraymond/joal-desktop/master/resources/icons/1024x1024.png'
-v '/mnt/user/appdata/joal':'/config':'rw'
--restart unless-stopped 'digrouz/joal'
Traefik configuration:
http:
routers:
joal-redir:
rule: "Host(`joal.mydomain.fr`)"
entrypoints:
- web
middlewares:
- redirect-to-https@file
service: joal-service
joal-router:
rule: "Host(`joal.mydomain.fr`)"
entrypoints:
- websecure
middlewares:
- gzip-compress@file
service: joal-service
tls: {}
services:
joal-service:
loadBalancer:
servers:
- url: "http://192.168.100.218:3965"
Error
When I connect to https://joal.mydomain.fr, I get this in the browser console:
URL: wss://joal.mydomain.fr:80/
Status: 404 Not Found
Tried
• Different Traefik rules (with PathPrefix, middlewares, etc.)
• Changing the container port mapping
• Adjusting TLS / entrypoints
Question
Has anyone successfully configured Joal with Traefik including websocket support?
Do I need to set --joal.ui.proxy.websocket.path and --joal.ui.proxy.host explicitly, or is there a simpler Traefik config I’m missing?