kopia lustrzana https://github.com/linuxserver/docker-documentation
Bot Updating Documentation
rodzic
a71023c226
commit
84f6720892
|
@ -41,7 +41,6 @@ This image provides various versions that are available via tags. Please read th
|
|||
| :----: | :----: |--- |
|
||||
| latest | ✅ | Stable releases |
|
||||
| insiders | ✅ | Insiders releases |
|
||||
|
||||
## Application Setup
|
||||
|
||||
If `CONNECTION_TOKEN` or `CONNECTION_SECRET` env vars are set, you can access the webui at `http://<your-ip>:3000/?tkn=supersecrettoken` (replace `supersecrettoken` with the value set). If not, you can access the webui at `http://<your-ip>:3000`.
|
||||
|
@ -72,7 +71,7 @@ services:
|
|||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/London
|
||||
- TZ=Etc/UTC
|
||||
- CONNECTION_TOKEN= #optional
|
||||
- CONNECTION_SECRET= #optional
|
||||
- SUDO_PASSWORD=password #optional
|
||||
|
@ -91,7 +90,7 @@ docker run -d \
|
|||
--name=openvscode-server \
|
||||
-e PUID=1000 \
|
||||
-e PGID=1000 \
|
||||
-e TZ=Europe/London \
|
||||
-e TZ=Etc/UTC \
|
||||
-e CONNECTION_TOKEN= `#optional` \
|
||||
-e CONNECTION_SECRET= `#optional` \
|
||||
-e SUDO_PASSWORD=password `#optional` \
|
||||
|
@ -100,6 +99,7 @@ docker run -d \
|
|||
-v /path/to/appdata/config:/config \
|
||||
--restart unless-stopped \
|
||||
lscr.io/linuxserver/openvscode-server:latest
|
||||
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
@ -118,7 +118,7 @@ Docker images are configured using parameters passed at runtime (such as those a
|
|||
| :----: | --- |
|
||||
| `PUID=1000` | for UserID - see below for explanation |
|
||||
| `PGID=1000` | for GroupID - see below for explanation |
|
||||
| `TZ=Europe/London` | Specify a timezone to use. |
|
||||
| `TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
|
||||
| `CONNECTION_TOKEN=` | Optional security token for accessing the Web UI (ie. `supersecrettoken`). |
|
||||
| `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`. |
|
||||
| `SUDO_PASSWORD=password` | If this optional variable is set, user will have sudo access in the openvscode-server terminal with the specified password. |
|
||||
|
|
Ładowanie…
Reference in New Issue