Archived
2
0

Merge pull request #63 from m1k1o/password_admin

Docs updated
This commit is contained in:
Nurdism 2020-04-05 18:41:23 -04:00 committed by GitHub
commit 613a192605
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 33 additions and 29 deletions

View File

@ -68,7 +68,7 @@ COPY server/bin/neko /usr/bin/neko
# #
# neko env # neko env
ENV NEKO_PASSWORD=neko ENV NEKO_PASSWORD=neko
ENV NEKO_ADMIN=admin ENV NEKO_PASSWORD_ADMIN=admin
ENV NEKO_BIND=:8080 ENV NEKO_BIND=:8080
# #

View File

@ -3,7 +3,7 @@
## Docker Basic Configuration ## Docker Basic Configuration
``` ```
NEKO_PASSWORD=neko // Password NEKO_PASSWORD=neko // Password
NEKO_ADMIN=neko // Admin Password NEKO_PASSWORD_ADMIN=admin // Admin Password
NEKO_BIND=0.0.0.0:8080 // Bind NEKO_BIND=0.0.0.0:8080 // Bind
NEKO_KEY= // (SSL) Key, needed for clipboard sync NEKO_KEY= // (SSL) Key, needed for clipboard sync
NEKO_CERT= // (SSL) Cert, needed for clipboard sync NEKO_CERT= // (SSL) Cert, needed for clipboard sync

View File

@ -3,13 +3,13 @@
## Running: ## Running:
### Chromium container: ### Chromium container:
``` ```
sudo docker run -p 80:8080 -p 59000-59100:59000-59100/udp -e NEKO_PASSWORD='secret' -e NEKO_ADMIN='secret' --cap-add SYS_ADMIN --shm-size=1gb nurdism/neko:chromium sudo docker run -p 80:8080 -p 59000-59100:59000-59100/udp -e NEKO_PASSWORD='secret' -e NEKO_PASSWORD_ADMIN='secret' --cap-add SYS_ADMIN --shm-size=1gb nurdism/neko:chromium
``` ```
*Note:* `--cap-add SYS_ADMIN` & `--shm-size=1gb` is required for chromium to run properly *Note:* `--cap-add SYS_ADMIN` & `--shm-size=1gb` is required for chromium to run properly
---- ----
### Firefox container: ### Firefox container:
``` ```
sudo docker run -p 8080:8080 -p 59000-59100:59000-59100/udp -e NEKO_PASSWORD='secret' -e NEKO_ADMIN='secret' --shm-size=1gb nurdism/neko:firefox sudo docker run -p 8080:8080 -p 59000-59100:59000-59100/udp -e NEKO_PASSWORD='secret' -e NEKO_PASSWORD_ADMIN='secret' --shm-size=1gb nurdism/neko:firefox
``` ```
*Note:* `--shm-size=1gb` is required for firefox, tabs will crash otherwise *Note:* `--shm-size=1gb` is required for firefox, tabs will crash otherwise

View File

@ -13,8 +13,9 @@ Server for n.eko, as of right now this will *only* work on Linux systems, only t
--static "./www" // (string) path to neko client files to serve --static "./www" // (string) path to neko client files to serve
--device "auto_null.monitor" // (string) audio device to capture --device "auto_null.monitor" // (string) audio device to capture
--display ":99.0" // (string) XDisplay to capture --display ":99.0" // (string) XDisplay to capture
--aduio "" // (string) audio codec parameters to use for streaming (unused) --audio "" // (string) audio codec parameters to use for streaming (unused)
--video "" // (string) video codec parameters to use for streaming (unused) --video "" // (string) video codec parameters to use for streaming (unused)
--screen "1280x720@30" // (string) default screen resolution and framerate
--epr "59000-59100" // (string) limits the pool of ephemeral ports that ICE UDP connections can allocate from --epr "59000-59100" // (string) limits the pool of ephemeral ports that ICE UDP connections can allocate from
--vp8 // (bool) use VP8 video codec --vp8 // (bool) use VP8 video codec
--vp9 // (bool) use VP9 video codec --vp9 // (bool) use VP9 video codec
@ -23,8 +24,11 @@ Server for n.eko, as of right now this will *only* work on Linux systems, only t
--g722 // (bool) use G722 audio codec --g722 // (bool) use G722 audio codec
--pcmu // (bool) use PCMU audio codec --pcmu // (bool) use PCMU audio codec
--pcma // (bool) use PCMA audio codec --pcma // (bool) use PCMA audio codec
--nat1to1 // ([]string) sets a list of external IP addresses of 1:1 (D)NAT and a candidate type for which the external IP address is used
--icelite // (bool) configures whether or not the ice agent should be a lite agent
--iceserver "stun:stun.l.google.com:19302" // ([]string) describes a single STUN and TURN server that can be used by the ICEAgent to establish a connection with a peer
--password "neko" // (string) password for connecting to stream --password "neko" // (string) password for connecting to stream
--admin "admin" // (string) admin password for connecting to stream --password_admin "admin" // (string) admin password for connecting to stream
``` ```
Config can be set via environment variables with the prefix `NEKO_` (I.E. NEKO_BIND="127.0.0.1:8080") Config can be set via environment variables with the prefix `NEKO_` (I.E. NEKO_BIND="127.0.0.1:8080")