working #4
@@ -8,15 +8,13 @@ if [ -z "$PASSWORD" ]; then
|
|||||||
# Konfiguration für keinen Authentifizierungsmodus
|
# Konfiguration für keinen Authentifizierungsmodus
|
||||||
echo "bind-addr: 0.0.0.0:8443
|
echo "bind-addr: 0.0.0.0:8443
|
||||||
auth: none
|
auth: none
|
||||||
password:
|
password:" > /config/code-server/config.yaml
|
||||||
cert: false" > /config/code-server/config.yaml
|
|
||||||
else
|
else
|
||||||
echo "Starte Code Server mit Passwort..."
|
echo "Starte Code Server mit Passwort..."
|
||||||
# Konfiguration für Passwort-Authentifizierungsmodus
|
# Konfiguration für Passwort-Authentifizierungsmodus
|
||||||
echo "bind-addr: 0.0.0.0:8443
|
echo "bind-addr: 0.0.0.0:8443
|
||||||
auth: password
|
auth: password
|
||||||
password: $PASSWORD
|
password: $PASSWORD" > /config/code-server/config.yaml
|
||||||
cert: false" > /config/code-server/config.yaml
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Die ID der Extension, die installiert werden soll
|
# Die ID der Extension, die installiert werden soll
|
||||||
|
|||||||
Reference in New Issue
Block a user