This commit is contained in:
iceBear67
2026-07-05 13:49:09 +08:00
parent a37aece686
commit bf67b8b95f
21 changed files with 230 additions and 61 deletions

View File

@@ -0,0 +1,14 @@
address: ":_BUBBLE_SSH_PORT_"
network-group: "workspace"
server-key-file: "/etc/ssh/ssh_host_rsa_key"
workspace-parent: "/data/workspace"
global-share-dir: "/data/share"
auth-server: "http://localhost:8080/"
manager:
address: "0.0.0.0:7684"
templates:
".*":
image: ""

View File

@@ -1,15 +0,0 @@
#!/bin/sh
# VARIABLES: _REVISION_ _REPO_
set -euo pipefail
mkdir -p /users && chown keeper /users && chmod 644 /users
init_repo(){
su - keeper 'git clone -b _REVISION_ _REPO_ /users'
}
if [[ ! -d /users/.git ]]; then
init_repo
elif [[ -d /users && cd /users && ! su - keeper 'git pull origin _REVISION_' ]]; then
init_repo
fi