Skip to content

Commit a4fc157

Browse files
authored
Merge pull request #16 from linuxserver/deftoken
blank default token so unraid users can leave blank
2 parents d29345e + 1c41718 commit a4fc157

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ services:
9898
- PUID=1000
9999
- PGID=1000
100100
- TZ=Europe/London
101-
- CONNECTION_TOKEN=supersecrettoken #optional
101+
- CONNECTION_TOKEN= #optional
102102
- CONNECTION_SECRET= #optional
103103
- SUDO_PASSWORD=password #optional
104104
- SUDO_PASSWORD_HASH= #optional
@@ -117,7 +117,7 @@ docker run -d \
117117
-e PUID=1000 \
118118
-e PGID=1000 \
119119
-e TZ=Europe/London \
120-
-e CONNECTION_TOKEN=supersecrettoken `#optional` \
120+
-e CONNECTION_TOKEN= `#optional` \
121121
-e CONNECTION_SECRET= `#optional` \
122122
-e SUDO_PASSWORD=password `#optional` \
123123
-e SUDO_PASSWORD_HASH= `#optional` \
@@ -137,7 +137,7 @@ Container images are configured using parameters passed at runtime (such as thos
137137
| `-e PUID=1000` | for UserID - see below for explanation |
138138
| `-e PGID=1000` | for GroupID - see below for explanation |
139139
| `-e TZ=Europe/London` | Specify a timezone to use. |
140-
| `-e CONNECTION_TOKEN=supersecrettoken` | Optional security token for accessing the Web UI. |
140+
| `-e CONNECTION_TOKEN=` | Optional security token for accessing the Web UI (ie. `supersecrettoken`). |
141141
| `-e CONNECTION_SECRET=` | Optional path to a file inside the container that contains the security token for accessing the Web UI (ie. `/path/to/file`). Overrides `CONNECTION_TOKEN`. |
142142
| `-e SUDO_PASSWORD=password` | If this optional variable is set, user will have sudo access in the openvscode-server terminal with the specified password. |
143143
| `-e SUDO_PASSWORD_HASH=` | Optionally set sudo password via hash (takes priority over `SUDO_PASSWORD` var). Format is `$type$salt$hashed`. |

readme-vars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ param_env_vars:
3535
# optional container parameters
3636
opt_param_usage_include_env: true
3737
opt_param_env_vars:
38-
- { env_var: "CONNECTION_TOKEN", env_value: "supersecrettoken", desc: "Optional security token for accessing the Web UI." }
38+
- { env_var: "CONNECTION_TOKEN", env_value: "", desc: "Optional security token for accessing the Web UI (ie. `supersecrettoken`)." }
3939
- { env_var: "CONNECTION_SECRET", env_value: "", desc: "Optional path to a file inside the container that contains the security token for accessing the Web UI (ie. `/path/to/file`). Overrides `CONNECTION_TOKEN`." }
4040
- { env_var: "SUDO_PASSWORD", env_value: "password", desc: "If this optional variable is set, user will have sudo access in the openvscode-server terminal with the specified password." }
4141
- { env_var: "SUDO_PASSWORD_HASH", env_value: "", desc: "Optionally set sudo password via hash (takes priority over `SUDO_PASSWORD` var). Format is `$type$salt$hashed`." }

0 commit comments

Comments
 (0)