nurdism/neko

How to enable `--proxy` / `NEKO_PROXY`?

iakat opened this issue · 2 comments

iakat commented

How to enable proxy mode? Starting with --proxy yields to a panic:
{"level":"panic","error":"unknown flag: --proxy","time":"2020-05-26T18:36:22Z","message":"failed to execute command"}

and NEKO_PROXY doesn't do anything.

I am running behind nginx and neko as is is trying to open websocket connections with the IP of the nginx container (instead of following X-Forwarded-For)

I see there is code for handling all of this but I cannot seem to find docs about proxy and this is what I get using the latest nurdism/neko:firefox container

Thanks in advance,
Simone

At second glance it might just be that the nurdism/neko:firefox image is just so outdated. Could you please set automatic builds for all the images on Docker Hub?

I am trying to rebuild it myself but I seem to be missing some files.

(⎈ |key:media)/t/neko » docker build . -t nurdism/neko:deps -f .docker/files/deps/Dockerfile               master ✔
Sending build context to Docker daemon  17.48MB
Step 1/8 : FROM debian:stretch-slim
 ---> fa41698012c7
Step 2/8 : RUN set -eux; apt-get update;     apt-get install -y --no-install-recommends pulseaudio dbus-x11 xserver-xorg-video-dummy;     apt-get install -y --no-install-recommends libcairo2 libxcb1 libxrandr2 libxv1 libopus0 libvpx4;     apt-get clean -y;     rm -rf /var/lib/apt/lists/* /var/cache/apt/*
 ---> Using cache
 ---> a70c0591569c
Step 3/8 : ENV PATH=/gst/local/bin:$PATH
 ---> Using cache
 ---> e2c0be63d5c9
Step 4/8 : ENV LD_LIBRARY_PATH=/gst/local/lib:$LD_LIBRARY_PATH
 ---> Using cache
 ---> 2b8ddd851973
Step 5/8 : ENV PKG_CONFIG_PATH=/gst/local/lib/pkgconfig:$PKG_CONFIG_PATH
 ---> Using cache
 ---> 7f861a973686
Step 6/8 : COPY .build/gst/local /gst/local/
COPY failed: stat /var/lib/docker/tmp/docker-builder538872518/.build/gst/local: no such file or directory

At second glance it might just be that the nurdism/neko:firefox image is just so outdated. Could you please set automatic builds for all the images on Docker Hub?

I am trying to rebuild it myself but I seem to be missing some files.

(⎈ |key:media)/t/neko » docker build . -t nurdism/neko:deps -f .docker/files/deps/Dockerfile               master ✔
Sending build context to Docker daemon  17.48MB
Step 1/8 : FROM debian:stretch-slim
 ---> fa41698012c7
Step 2/8 : RUN set -eux; apt-get update;     apt-get install -y --no-install-recommends pulseaudio dbus-x11 xserver-xorg-video-dummy;     apt-get install -y --no-install-recommends libcairo2 libxcb1 libxrandr2 libxv1 libopus0 libvpx4;     apt-get clean -y;     rm -rf /var/lib/apt/lists/* /var/cache/apt/*
 ---> Using cache
 ---> a70c0591569c
Step 3/8 : ENV PATH=/gst/local/bin:$PATH
 ---> Using cache
 ---> e2c0be63d5c9
Step 4/8 : ENV LD_LIBRARY_PATH=/gst/local/lib:$LD_LIBRARY_PATH
 ---> Using cache
 ---> 2b8ddd851973
Step 5/8 : ENV PKG_CONFIG_PATH=/gst/local/lib/pkgconfig:$PKG_CONFIG_PATH
 ---> Using cache
 ---> 7f861a973686
Step 6/8 : COPY .build/gst/local /gst/local/
COPY failed: stat /var/lib/docker/tmp/docker-builder538872518/.build/gst/local: no such file or directory

+1, have been having some issues and I wonder if it's due to outdated builds