mirror of
https://github.com/linuxserver/docker-code-server.git
synced 2025-04-18 23:39:30 +02:00
support leaving off cert_key
This commit is contained in:
parent
e08e14778c
commit
51c5aa1f55
@ -7,6 +7,12 @@ else
|
|||||||
echo "starting with no password"
|
echo "starting with no password"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -n "${CERT_KEY}" ]; then
|
||||||
|
KEY="--cert-key ${CERT_KEY}"
|
||||||
|
else
|
||||||
|
KEY=""
|
||||||
|
fi
|
||||||
|
|
||||||
exec \
|
exec \
|
||||||
s6-setuidgid abc \
|
s6-setuidgid abc \
|
||||||
/usr/bin/code-server \
|
/usr/bin/code-server \
|
||||||
@ -17,5 +23,5 @@ exec \
|
|||||||
--disable-updates \
|
--disable-updates \
|
||||||
--auth "${AUTH}" \
|
--auth "${AUTH}" \
|
||||||
--cert "${CERT}" \
|
--cert "${CERT}" \
|
||||||
--cert-key "${CERT_KEY}" \
|
"${KEY}" \
|
||||||
/config/workspace
|
/config/workspace
|
||||||
|
Loading…
x
Reference in New Issue
Block a user