working #4

Merged
musabe24 merged 3 commits from working into main 2024-02-25 20:33:14 +01:00
Showing only changes of commit 339378fc13 - Show all commits

View File

@@ -12,4 +12,11 @@ else
fi
# Starten des code-server
exec code-server --bind-addr 0.0.0.0:8443 --auth none
# Überprüfen, ob eine PASSWORT Umgebungsvariable gesetzt ist
if [ -z "$PASSWORD" ]; then
echo "Starte Code Server ohne Passwort..."
code-server --auth none --bind-addr 0.0.0.0:8443
else
echo "Starte Code Server mit Passwort..."
code-server --auth password --bind-addr 0.0.0.0:8443 --password $PASSWORD
fi