chore: drop HOST overrides, move known issue to docs, tidy comments and gitignores

- Remove HOST=${SERVICE_HOSTNAME} from code-server, code-server-lsio and paseo; hostname: alone sets the name
- Move SERVICE_HOSTNAME to the top of their .env.example to match compose order
- Drop the openclaw ARM64 Chromium note from its README; docs/openclaw covers it
- List CUSTOM_USER in webtop's setup step
- Trim reasoning from diun and paseo comments
- Delete stale gitea and gitea-mirror .gitignore files
- Add TODO.md for remaining naming and README issues
This commit is contained in:
tiennm99 committed 2026-10-06 16:32:32 +07:00
1 parent 042d6bd6c0
commit 422eab8499
17 files changed
+41 -55

No files matched your search

+3 -3
View File
@@ -2,6 +2,9 @@
#
# cp .env.example .env
# Container hostname.
SERVICE_HOSTNAME=code-server-lsio
# Web UI login password. Required.
# Also used for SUDO_PASSWORD inside the container.
# Generate one with: openssl rand -base64 24
@@ -11,8 +14,5 @@ PASSWORD=
GIT_NAME=
GIT_EMAIL=
# Container hostname, also passed in as HOST -- the name zsh's prompt shows.
SERVICE_HOSTNAME=code-server-lsio
# Name of the installed web app.
# PWA_APPNAME=code-server
+1 -9
View File
@@ -32,7 +32,7 @@ separate rootless daemon.
| Variable | Purpose |
| --- | --- |
| `SERVICE_HOSTNAME` | Container hostname, and the name the shell prompt shows. |
| `SERVICE_HOSTNAME` | Container hostname. |
| `PASSWORD` | Web UI login, also the in-container sudo password. Required. |
| `GIT_NAME` / `GIT_EMAIL` | Git author and committer identity |
| `PWA_APPNAME` | Optional. Name of the installed web app; defaults to `code-server`. |
@@ -43,14 +43,6 @@ The compose file refuses to start when `PASSWORD` is unset or blank. The image
itself would start anyway and serve code-server with no authentication, on a
container that holds the Docker socket.
`SERVICE_HOSTNAME` is used twice: as the container's `hostname:` and as the
`HOST` variable inside it. Coolify injects `HOST=0.0.0.0` into every compose
app, and zsh seeds `$HOST` and the `%m`/`%M` prompt escapes from that variable
rather than calling `gethostname()` — so the prompt reads `0`, the first
dot-separated field of `0.0.0.0`. code-server itself never reads `HOST` — it
binds `[::]:8443` — so overriding it only affects the prompt. bash is
unaffected; its `\h` uses the real hostname.
`PUID`/`PGID` are pinned to `1000` in `compose.yml`; the `Dockerfile` depends
on that (see [Storage](#storage)).
-1
View File
@@ -17,7 +17,6 @@ services:
- GIT_AUTHOR_EMAIL=${GIT_EMAIL}
- GIT_COMMITTER_NAME=${GIT_NAME}
- GIT_COMMITTER_EMAIL=${GIT_EMAIL}
- HOST=${SERVICE_HOSTNAME}
# - PWA_APPNAME=${PWA_APPNAME:-code-server}
volumes:
- 'code-server-config:/config'