Workflow update

main
technorabilia 2 years ago
parent 5150e32a8c
commit 61d087088e

@ -29,6 +29,8 @@ services:
- SUDO_PASSWORD_HASH= # optional
# If this optional variable is set, this domain will be proxied for subdomain proxying. See [Documentation](https://github.com/cdr/code-server/blob/master/docs/FAQ.md#sub-domains)
- PROXY_DOMAIN=code-server.my.domain # optional
# If this optional variable is set, code-server will open this directory by default
- DEFAULT_WORKSPACE=/config/workspace # optional
volumes:
# Contains all relevant configuration files.
- ${BASEDIR:-/volume1/docker}/code-server/config:/config

@ -17,6 +17,7 @@ docker run -d \
-e SUDO_PASSWORD=password `# optional` `# If this optional variable is set, user will have sudo access in the code-server terminal with the specified password.` \
-e SUDO_PASSWORD_HASH= `# optional` `# Optionally set sudo password via hash (takes priority over `SUDO_PASSWORD` var). Format is `$type$salt$hashed`.` \
-e PROXY_DOMAIN=code-server.my.domain `# optional` `# If this optional variable is set, this domain will be proxied for subdomain proxying. See [Documentation](https://github.com/cdr/code-server/blob/master/docs/FAQ.md#sub-domains)` \
-e DEFAULT_WORKSPACE=/config/workspace `# optional` `# If this optional variable is set, code-server will open this directory by default` \
-p 8443:8443 `# web gui` \
-v ${BASEDIR:-/volume1/docker}/code-server/config:/config `# Contains all relevant configuration files.` \
--restart unless-stopped \

Loading…
Cancel
Save