chore: drop code-server-base

code-server covers the remaining use.
This commit is contained in:
tiennm99 committed 2026-09-18 17:38:07 +07:00
1 parent a63c121075
commit 14a5720f7a
4 files changed
-67

No files matched your search

-1
View File
@@ -55,7 +55,6 @@ Each links to its own README for variables, ports, and storage.
| --- | --- |
| [alloy](alloy/README.md) | Grafana Alloy shipping host and Docker telemetry to Grafana Cloud |
| [code-server](code-server/README.md) | VS Code in the browser, as a remote dev box |
| [code-server-base](code-server-base/README.md) | VS Code in the browser, stock image with no mods |
| [couchbase](couchbase/README.md) | Couchbase Server |
| [gitea-mirror-local](gitea-mirror-local/README.md) | Gitea + PostgreSQL + gitea-mirror, mirroring GitHub repos |
| [netdata](netdata/README.md) | Netdata monitoring agent |
-9
View File
@@ -1,9 +0,0 @@
# Copy to .env and fill in. Never commit .env.
#
# cp .env.example .env
# Web UI login password. MUST NOT be blank -- the LinuxServer image serves
# code-server without authentication when PASSWORD is empty.
# Also used for SUDO_PASSWORD inside the container.
# Generate one with: openssl rand -base64 24
PASSWORD=
-42
View File
@@ -1,42 +0,0 @@
# code-server-base
[VS Code in the browser](https://github.com/linuxserver/docker-code-server),
from the LinuxServer image, stock.
The starting point for a new code-server instance: the image as it ships, with
no mods and no extra packages. Only a password, a timezone, and a workspace
path are set. Copy the directory and add `DOCKER_MODS` / `INSTALL_PACKAGES` to
build a kitted-out box — [code-server](../code-server/README.md) is that same
image with Go, Node.js, Python, and a pile of CLI tools layered on.
Both use a volume named `code-server-config`, but Compose namespaces volumes by
project and the project is named after the directory, so the two instances stay
independent.
## Environment
| Variable | Purpose |
| --- | --- |
| `PASSWORD` | Web UI login, also the in-container sudo password. **A blank value disables authentication entirely.** |
Generate a password with `openssl rand -base64 24`.
`PUID`/`PGID` are pinned to `1000` and `TZ` to `Asia/Ho_Chi_Minh` in the
compose file — the first user on my hosts, and my timezone. Change them in
place if neither holds.
The upstream example also offers `HASHED_PASSWORD`, `SUDO_PASSWORD_HASH`, and
`PROXY_DOMAIN`. The hash variants are left out because the plaintext ones
already come from a gitignored `.env`, and `PROXY_DOMAIN` because Coolify and
Dokploy terminate the domain at their own proxy.
## Networking
Listens on `8443`. No ports are published — point the domain at that port in
Coolify or Dokploy. See the [root README](../README.md) for why.
## Storage
Everything lives in the `code-server-config` named volume mounted at `/config`;
the default workspace is `/config/workspace`. Removing the volume wipes your
files, settings, and extensions.
-15
View File
@@ -1,15 +0,0 @@
services:
code-server:
image: 'lscr.io/linuxserver/code-server:latest'
environment:
- PUID=1000
- PGID=1000
- PASSWORD=${PASSWORD}
- SUDO_PASSWORD=${PASSWORD}
- TZ=Asia/Ho_Chi_Minh
- DEFAULT_WORKSPACE=/config/workspace
- PWA_APPNAME=code-server
volumes:
- 'code-server-config:/config'
volumes:
code-server-config: