mirror of
https://github.com/tiennm99/composes.git
synced 2026-10-15 10:14:47 +00:00
chore: drop code-server-base
code-server covers the remaining use.
This commit is contained in:
1 parent
a63c121075
commit
14a5720f7a
4 files changed
-67
No files matched your search
@@ -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 |
|
| [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](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 |
|
| [couchbase](couchbase/README.md) | Couchbase Server |
|
||||||
| [gitea-mirror-local](gitea-mirror-local/README.md) | Gitea + PostgreSQL + gitea-mirror, mirroring GitHub repos |
|
| [gitea-mirror-local](gitea-mirror-local/README.md) | Gitea + PostgreSQL + gitea-mirror, mirroring GitHub repos |
|
||||||
| [netdata](netdata/README.md) | Netdata monitoring agent |
|
| [netdata](netdata/README.md) | Netdata monitoring agent |
|
||||||
|
|||||||
@@ -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=
|
|
||||||
@@ -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.
|
|
||||||
@@ -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:
|
|
||||||
Reference in new issue
Block a user