Compare commits

...

2 Commits

Author SHA1 Message Date
huaiyuan
392ddbe3b8 studio: fix some bugs 2025-04-02 21:33:20 +08:00
hys
c7cd01ed15 studio,studio-service: bug fix 2025-04-02 21:17:44 +08:00
2 changed files with 15 additions and 4 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

@@ -263,7 +263,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
@@ -1442,6 +1442,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;