mirror of
https://github.com/linuxserver/docker-code-server
synced 2025-06-09 16:05:54 +00:00
Bot Updating Templated Files
This commit is contained in:
parent
8c14b46231
commit
9d95aadf89
@ -120,6 +120,7 @@ services:
|
||||
- SUDO_PASSWORD_HASH= #optional
|
||||
- PROXY_DOMAIN=code-server.my.domain #optional
|
||||
- DEFAULT_WORKSPACE=/config/workspace #optional
|
||||
- PWA_APPNAME=code-server #optional
|
||||
volumes:
|
||||
- /path/to/code-server/config:/config
|
||||
ports:
|
||||
@ -141,6 +142,7 @@ docker run -d \
|
||||
-e SUDO_PASSWORD_HASH= `#optional` \
|
||||
-e PROXY_DOMAIN=code-server.my.domain `#optional` \
|
||||
-e DEFAULT_WORKSPACE=/config/workspace `#optional` \
|
||||
-e PWA_APPNAME=code-server `#optional` \
|
||||
-p 8443:8443 \
|
||||
-v /path/to/code-server/config:/config \
|
||||
--restart unless-stopped \
|
||||
@ -163,6 +165,7 @@ Containers are configured using parameters passed at runtime (such as those abov
|
||||
| `-e SUDO_PASSWORD_HASH=` | Optionally set sudo password via hash (takes priority over `SUDO_PASSWORD` var). Format is `$type$salt$hashed`. |
|
||||
| `-e 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/coder/code-server/blob/main/docs/guide.md#using-a-subdomain) |
|
||||
| `-e DEFAULT_WORKSPACE=/config/workspace` | If this optional variable is set, code-server will open this directory by default |
|
||||
| `-e PWA_APPNAME=code-server` | If this optional variable is set, the PWA app will the specified name. |
|
||||
| `-v /config` | Contains all relevant configuration files. |
|
||||
| `--read-only=true` | Run container with a read-only filesystem. Please [read the docs](https://docs.linuxserver.io/misc/read-only/). |
|
||||
| `--user=1000:1000` | Run container with a non-root user. Please [read the docs](https://docs.linuxserver.io/misc/non-root/). |
|
||||
@ -329,6 +332,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||
|
||||
## Versions
|
||||
|
||||
* **03.06.25:** - Allow setting PWA name using env var `PWA_APPNAME`.
|
||||
* **13.10.24:** - Only chown config folder when change to ownership or new install is detected.
|
||||
* **09.10.24:** - Manage permissions in /config/.ssh according to file type
|
||||
* **19.08.24:** - Rebase to Ubuntu Noble.
|
||||
|
Loading…
Reference in New Issue
Block a user