Compare commits

...

2 Commits

Author SHA1 Message Date
huaiyuan
8b582878e3 studio: fix some bugs 2025-04-02 21:39:44 +08:00
hys
e1b8e8d573 studio,studio-service: bug fix 2025-04-02 21:14:42 +08:00
4 changed files with 17 additions and 6 deletions

View File

@@ -249,7 +249,7 @@ spec:
containers:
- name: studio
image: beclab/devbox-server:v0.1.46
image: beclab/studio-server:v0.1.47
imagePullPolicy: IfNotPresent
args:
- server
@@ -271,7 +271,7 @@ spec:
preStop:
exec:
command:
- "/devbox"
- "/studio"
- "clean"
env:
- name: BASE_DIR
@@ -469,7 +469,7 @@ data:
- name: envoy.filters.network.http_connection_manager
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
stat_prefix: devbox_out_http
stat_prefix: studio_out_http
skip_xff_append: false
codec_type: AUTO
route_config:

View File

@@ -268,7 +268,7 @@ spec:
- mountPath: /www
name: www-dir
- name: studio-init
image: beclab/devbox:v0.2.2
image: beclab/studio:v0.2.3
imagePullPolicy: IfNotPresent
command:
- /bin/sh
@@ -1438,6 +1438,17 @@ data:
proxy_set_header Accept-Encoding gzip;
proxy_read_timeout 180;
}
location /api/app-state {
proxy_pass http://studio-server:8080;
proxy_set_header Host $http_host;
proxy_set_header X-real-ip $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_set_header Accept-Encoding gzip;
proxy_read_timeout 180;
}
location /api/list-my-containers {
proxy_pass http://studio-server:8080;
proxy_set_header Host $http_host;

View File

@@ -146,7 +146,7 @@ function get_app_key_secret(){
function get_app_settings(){
local username=$1
local apps=("vault" "desktop" "message" "wise" "search" "appstore" "notification" "dashboard" "settings" "devbox" "profile" "agent" "files")
local apps=("vault" "desktop" "message" "wise" "search" "appstore" "notification" "dashboard" "settings" "studio" "profile" "agent" "files")
for a in ${apps[@]};do
ks=($(get_app_key_secret "$username" "$a"))
echo '

View File

@@ -149,7 +149,7 @@ spec:
priorityClassName: "system-cluster-critical"
containers:
- name: app-service
image: beclab/app-service:0.3.18
image: beclab/app-service:0.3.19
imagePullPolicy: IfNotPresent
securityContext:
runAsUser: 0