mirror of
https://github.com/tiennm99/composes.git
synced 2026-10-13 06:15:14 +00:00
refactor: comment out optional env vars in diun and code-server
This commit is contained in:
1 parent
5844ef5611
commit
01102bdf06
7 files changed
+18
-13
No files matched your search
@@ -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
|
||||
@@ -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`.
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user