refactor: comment out optional env vars in diun and code-server

This commit is contained in:
tiennm99 committed 2026-10-04 21:53:29 +07:00
1 parent 5844ef5611
commit 01102bdf06
7 files changed
+18 -13

No files matched your search

+3
View File
@@ -15,3 +15,6 @@ GIT_EMAIL=
# Container hostname, also passed in as HOST -- the name zsh's prompt shows.
# Not named HOSTNAME: the deploying shell's own HOSTNAME would override it.
SERVICE_HOSTNAME=code-server
# Name of the installed web app.
# PWA_APPNAME=code-server
+1
View File
@@ -35,6 +35,7 @@ separate rootless daemon.
| `SERVICE_HOSTNAME` | Container hostname, and the name the shell prompt shows. |
| `PASSWORD` | Web UI login, also the in-container sudo password. **A blank value disables authentication entirely.** |
| `GIT_NAME` / `GIT_EMAIL` | Git author and committer identity |
| `PWA_APPNAME` | Optional. Name of the installed web app; defaults to `code-server`. |
Generate a password with `openssl rand -base64 24`.
+1 -1
View File
@@ -18,7 +18,7 @@ services:
- GIT_COMMITTER_NAME=${GIT_NAME}
- GIT_COMMITTER_EMAIL=${GIT_EMAIL}
- HOST=${SERVICE_HOSTNAME}
- PWA_APPNAME=code-server
# - PWA_APPNAME=${PWA_APPNAME:-code-server}
volumes:
- 'code-server-config:/config'
- 'code-server-workspace:/workspace'