Ultraviolet-App icon indicating copy to clipboard operation
Ultraviolet-App copied to clipboard

docker compose install results in "serviceWorker is undefined"

Open Niehztog opened this issue 1 year ago • 5 comments

Hello. I am trying to deploy my own self hosted ultraviolet app to my local docker environment using docker compose. I used the following docker-compose.yaml file:

services:
  ultraviolet:
    image: diffusehyperion/ultraviolet
    container_name: ultraviolet-proxy
    ports:
      - "8080:8080"
    restart: unless-stopped

I can then access the ultraviolet server by navigating to http://192.168.0.10:8080 in firefox or chromium. But when I enter any site url in the input box and hit enter, nothing happens. The developer tools reveal a javascript error: Uncaught TypeError: serviceWorker is undefined

Please advise which steps are necessary to fix this

Niehztog avatar Nov 12 '24 20:11 Niehztog

Can confirm that this bug exists. I am having it too.

proJM-Coding avatar Nov 24 '24 08:11 proJM-Coding

I think I have this same issue, it works completely fine on localhost but doesn't on the ip address.

s-krealk avatar Apr 03 '25 03:04 s-krealk

I believe there is no more development on this project. Can anyone suggest an alternative with docker support?

proJM-Coding avatar Apr 03 '25 04:04 proJM-Coding

Build the dockerfile

MrRyanPerson avatar Apr 21 '25 18:04 MrRyanPerson

I will try to do that but that suggests that the image has an issue. Maybe it was built when there was an issue with the app and the image hasn't been updated since?

proJM-Coding avatar Apr 21 '25 22:04 proJM-Coding