From 56843dd80ae11c63bf1c81ec045afb1f56df6fea Mon Sep 17 00:00:00 2001 From: LinuxServer-CI Date: Sat, 26 Dec 2020 14:43:06 +0000 Subject: [PATCH] Bot Updating Documentation --- images/docker-code-server.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/images/docker-code-server.md b/images/docker-code-server.md index fbafa32bf..dec933237 100644 --- a/images/docker-code-server.md +++ b/images/docker-code-server.md @@ -62,6 +62,7 @@ services: - TZ=Europe/London - PASSWORD=password #optional - SUDO_PASSWORD=password #optional + - SUDO_PASSWORD_HASH= #optional - PROXY_DOMAIN=code-server.my.domain #optional volumes: - /path/to/appdata/config:/config @@ -80,6 +81,7 @@ docker run -d \ -e TZ=Europe/London \ -e PASSWORD=password `#optional` \ -e SUDO_PASSWORD=password `#optional` \ + -e SUDO_PASSWORD_HASH= `#optional` \ -e PROXY_DOMAIN=code-server.my.domain `#optional` \ -p 8443:8443 \ -v /path/to/appdata/config:/config \ @@ -108,6 +110,7 @@ Docker images are configured using parameters passed at runtime (such as those a | `TZ=Europe/London` | Specify a timezone to use EG Europe/London | | `PASSWORD=password` | Optional web gui password, if not provided, there will be no auth. | | `SUDO_PASSWORD=password` | If this optional variable is set, user will have sudo access in the code-server terminal with the specified password. | +| `SUDO_PASSWORD_HASH=` | Optionally set sudo password via hash (takes priority over `SUDO_PASSWORD` var). Format is `$type$salt$hashed`. | | `PROXY_DOMAIN=code-server.my.domain` | If this optional variable is set, this domain will be proxied for subdomain proxying. See [Documentation](https://github.com/cdr/code-server/blob/master/doc/FAQ.md#sub-domains) | ### Volume Mappings (`-v`) @@ -179,6 +182,7 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to ## Versions +* **23.12.20:** - Allow setting sudo password via hash using env var `SUDO_PASSWORD_HASH`. * **29.05.20:** - Add --domain-proxy support. * **21.05.20:** - Shrink images, install via yarn, fix arm32v7 build. * **18.05.20:** - Switch to multi-arch images, install via npm.