mirror of
https://github.com/pooneyy/1Panel-Appstore.git
synced 2026-04-01 20:16:40 +08:00
update new-api
This commit is contained in:
parent
3fba535d84
commit
ccaf487df3
@ -1,5 +1,5 @@
|
||||
services:
|
||||
one-api:
|
||||
new-api:
|
||||
image: calciumion/new-api:latest
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
services:
|
||||
one-api:
|
||||
new-api:
|
||||
image: calciumion/new-api:latest
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
|
||||
17
new-api/veloera/data.yml
Normal file
17
new-api/veloera/data.yml
Normal file
@ -0,0 +1,17 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 3000
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: Asia/Shanghai
|
||||
edit: true
|
||||
envKey: TZ
|
||||
labelEn: Time Zone
|
||||
labelZh: 时区
|
||||
required: true
|
||||
type: text
|
||||
25
new-api/veloera/docker-compose.yml
Normal file
25
new-api/veloera/docker-compose.yml
Normal file
@ -0,0 +1,25 @@
|
||||
services:
|
||||
new-api:
|
||||
image: ghcr.io/veloera/veloera:latest
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:3000
|
||||
networks:
|
||||
- 1panel-network
|
||||
command: --log-dir /app/logs
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- ./logs:/app/logs
|
||||
environment:
|
||||
- TZ=${TZ}
|
||||
# - SESSION_SECRET=${SESSION_SECRET}
|
||||
# - REDIS_CONN_STRING=redis://redis
|
||||
# - NODE_TYPE=slave # 多机部署时从节点取消注释该行
|
||||
# - SYNC_FREQUENCY=60 # 需要定期从数据库加载数据时取消注释该行
|
||||
# - FRONTEND_BASE_URL=https://openai.justsong.cn # 多机部署时从节点取消注释该行
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Loading…
x
Reference in New Issue
Block a user