Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
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
Commit
c94f6628
authored
Apr 11, 2025
by
CaIon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update .gitignore and docker-compose.yml to include tiktoken_cache directory
parent
577b18a1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
.gitignore
+3
-2
docker-compose.yml
+1
-0
No files found.
.gitignore
View file @
c94f6628
...
...
@@ -9,4 +9,5 @@ logs
web/dist
.env
one-api
.DS_Store
\ No newline at end of file
.DS_Store
tiktoken_cache
\ No newline at end of file
docker-compose.yml
View file @
c94f6628
...
...
@@ -15,6 +15,7 @@ services:
-
SQL_DSN=root:123456@tcp(mysql:3306)/new-api
# Point to the mysql service
-
REDIS_CONN_STRING=redis://redis
-
TZ=Asia/Shanghai
# - TIKTOKEN_CACHE_DIR=./tiktoken_cache # 如果需要使用tiktoken_cache,请取消注释
# - SESSION_SECRET=random_string # 多机部署时设置,必须修改这个随机字符串!!!!!!!
# - NODE_TYPE=slave # Uncomment for slave node in multi-node deployment
# - SYNC_FREQUENCY=60 # Uncomment if regular database syncing is needed
...
...
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