Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
76c2d30a
authored
Mar 24, 2026
by
Archer
Committed by
GitHub
Mar 24, 2026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove logger (#6622)
parent
e05ae8a3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
9 deletions
+0
-9
deploy/templates/docker-compose.prod.yml
+0
-1
projects/sandbox/src/env.ts
+0
-8
No files found.
deploy/templates/docker-compose.prod.yml
View file @
76c2d30a
...
@@ -211,7 +211,6 @@ ${{vec.db}}
...
@@ -211,7 +211,6 @@ ${{vec.db}}
-
fastgpt
-
fastgpt
restart
:
always
restart
:
always
environment
:
environment
:
<<
:
[
*x-log-config
]
LOG_OTEL_SERVICE_NAME
:
fastgpt-code-sandbox
LOG_OTEL_SERVICE_NAME
:
fastgpt-code-sandbox
SANDBOX_TOKEN
:
*x-code-sandbox-token
SANDBOX_TOKEN
:
*x-code-sandbox-token
# ===== Resource Limits =====
# ===== Resource Limits =====
...
...
projects/sandbox/src/env.ts
View file @
76c2d30a
...
@@ -27,14 +27,6 @@ const envSchema = z.object({
...
@@ -27,14 +27,6 @@ const envSchema = z.object({
'SANDBOX_TOKEN contains invalid characters. Only ASCII printable characters (no spaces) are allowed.'
'SANDBOX_TOKEN contains invalid characters. Only ASCII printable characters (no spaces) are allowed.'
}),
}),
// Logger
LOG_ENABLE_CONSOLE
:
z
.
boolean
().
default
(
true
),
LOG_CONSOLE_LEVEL
:
LogLevelSchema
.
default
(
'debug'
),
LOG_ENABLE_OTEL
:
z
.
boolean
().
default
(
false
),
LOG_OTEL_LEVEL
:
LogLevelSchema
.
default
(
'info'
),
LOG_OTEL_SERVICE_NAME
:
z
.
string
().
default
(
'fastgpt-code-sandbox'
),
LOG_OTEL_URL
:
z
.
url
().
optional
(),
// ===== 进程池 =====
// ===== 进程池 =====
/** 进程池大小(预热 worker 数量) */
/** 进程池大小(预热 worker 数量) */
SANDBOX_POOL_SIZE
:
int
(
20
).
pipe
(
z
.
number
().
min
(
1
).
max
(
100
)),
SANDBOX_POOL_SIZE
:
int
(
20
).
pipe
(
z
.
number
().
min
(
1
).
max
(
100
)),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment