We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed4efdc commit 35b8e16Copy full SHA for 35b8e16
1 file changed
root/etc/services.d/code-server/run
@@ -1,18 +1,16 @@
1
#!/usr/bin/with-contenv bash
2
3
if [ -n "${PASSWORD}" ]; then
4
- PASSARG="-P ${PASSWORD}"
+ AUTH="--auth password"
5
else
6
- PASSARG="-N"
7
echo "starting with no password"
8
fi
9
10
exec \
11
s6-setuidgid abc \
12
/usr/bin/code-server \
13
- -H \
14
- ${PASSARG} \
15
- -d /config/data \
16
- -e /config/extensions \
17
- --disable-telemetry \
+ --port 8443 \
+ --user-data-dir /config/data \
+ --extensions-dir /config/extensions \
+ ${AUTH} \
18
/config/workspace
0 commit comments