Open thebitstick opened 2 years ago
You set NEKO_NAT1TO1: localhost
but in that context it is localhost of the container. You need to put there IP address of the host, where ports are exposed and that is reachable by the client.
Pulseaudio seems to be fine, it is just very noisy.
I'm also having trouble getting this running on macOS. I'm using colima as my docker environment.
version: "3.4"
services:
neko:
image: "ghcr.io/m1k1o/neko/arm-firefox:latest"
restart: "unless-stopped"
shm_size: "2gb"
ports:
- "8080:8080"
- "52000-52100:52000-52100/udp"
environment:
NEKO_SCREEN: 1920x1080@30
NEKO_PASSWORD: neko
NEKO_PASSWORD_ADMIN: admin
NEKO_EPR: 52000-52100
NEKO_ICELITE: 1
NEKO_NAT1TO1: 192.168.20.166
I can pull up the web UI at http://192.168.20.166:8080
but WebRTC can't connect.
Server logs:
https://gist.github.com/deviantintegral/fd5ef00bf6cc6b8ac878574d7df2a104
Of note:
neko-neko-1 | 12:09AM WRN peer failed id=Onc8rsD9kkBl3mB-ucEvlnK3K9haqcPj module=webrtc neko-neko-1 | 12:09AM WRN Failed to discover mDNS candidate 9b986175-8514-4e74-aac6-7cfc6842d105.local: mDNS: connection is closed module=webrtc submodule=pion subsystem=ice
neko-neko-1 | 12:09AM WRN Failed to start manager: connecting canceled by caller module=webrtc submodule=pion subsystem=pc neko-neko-1 | 12:09AM WRN Failed to start SCTP: DTLS not established module=webrtc submodule=pion subsystem=pc neko-neko-1 | 12:09AM WRN Failed to discover mDNS candidate 00193967-9787-4013-b508-59f77ac34bce.local: mDNS: connection is closed module=webrtc submodule=pion subsystem=ice neko-neko-1 | 12:09AM WRN undeclaredMediaProcessor failed to open SrtcpSession: the DTLS transport has not started yet module=webrtc submodule=pion subsystem=pc neko-neko-1 | 12:09AM WRN undeclaredMediaProcessor failed to open SrtpSession: the DTLS transport has not started yet module=webrtc submodule=pion subsystem=pc
While I doubt many want to run neko on macOS in the long run, I do think many would want to use it for demos and trying it out. If I can get this working, I'd be glad to write a PR with any macOS specific steps.
Any updates on this? Seems to be unusable on Mac OS with Docker.
Any updates on this? Seems to be unusable on Mac OS with Docker.
It has never been made to run with Mac OS or Windows in mind, so not really no... If it works it works™
The WebUI is able to run through Docker, but I run into issues with WebRTC and I believe Pulseaudio as well. Neither the chromium, arm-chromium, firefox nor arm-firefox seem to work.
OS: macOS 12.3.1 arm64 Docker: 20.10.14
Log when attempting to login via WebUI:
Docker Compose: