diff --git a/Dockerfile b/Dockerfile index 8ac257d6..6815e30a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -68,7 +68,7 @@ COPY server/bin/neko /usr/bin/neko # # neko env ENV NEKO_PASSWORD=neko -ENV NEKO_ADMIN=admin +ENV NEKO_PASSWORD_ADMIN=admin ENV NEKO_BIND=:8080 # diff --git a/docs/configuration.md b/docs/configuration.md index ed163ad4..da909e68 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -2,9 +2,9 @@ ## Docker Basic Configuration ``` -NEKO_PASSWORD=neko // Password -NEKO_ADMIN=neko // Admin Password -NEKO_BIND=0.0.0.0:8080 // Bind -NEKO_KEY= // (SSL) Key, needed for clipboard sync -NEKO_CERT= // (SSL) Cert, needed for clipboard sync +NEKO_PASSWORD=neko // Password +NEKO_PASSWORD_ADMIN=admin // Admin Password +NEKO_BIND=0.0.0.0:8080 // Bind +NEKO_KEY= // (SSL) Key, needed for clipboard sync +NEKO_CERT= // (SSL) Cert, needed for clipboard sync ``` \ No newline at end of file diff --git a/docs/docker.md b/docs/docker.md index ea53e15e..88549219 100644 --- a/docs/docker.md +++ b/docs/docker.md @@ -3,13 +3,13 @@ ## Running: ### 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 ---- ### 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 \ No newline at end of file diff --git a/docs/server.md b/docs/server.md index b2a8489d..f9d14ed6 100644 --- a/docs/server.md +++ b/docs/server.md @@ -24,7 +24,7 @@ Server for n.eko, as of right now this will *only* work on Linux systems, only t --pcmu // (bool) use PCMU audio codec --pcma // (bool) use PCMA audio codec --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")