记录个人部署的过程
Some checks failed
Build FastGPT images in Personal warehouse / build-fastgpt-images (push) Has been cancelled
Some checks failed
Build FastGPT images in Personal warehouse / build-fastgpt-images (push) Has been cancelled
This commit is contained in:
38
projects/app/docker-compose.yml
Normal file
38
projects/app/docker-compose.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
version: '3.3'
|
||||
|
||||
services:
|
||||
martin-gpt:
|
||||
image: martingpt:v4.8.1 # 个人构建的镜像
|
||||
container_name: martin-fastgpt
|
||||
ports:
|
||||
- '3001:3001'
|
||||
networks:
|
||||
- q00k04kgc8wk4k8okwog8owc_fastgpt
|
||||
restart: always
|
||||
environment:
|
||||
- FE_DOMAIN=
|
||||
- DEFAULT_ROOT_PSW=Pllh@123
|
||||
- 'AIPROXY_API_ENDPOINT=http://aiproxy:3000'
|
||||
- AIPROXY_API_TOKEN=aiproxy
|
||||
- DB_MAX_LINK=30
|
||||
- TOKEN_KEY=any
|
||||
- ROOT_KEY=root_key
|
||||
- FILE_TOKEN_KEY=filetoken
|
||||
- 'MONGODB_URI=mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin'
|
||||
- 'PG_URL=postgresql://username:password@pg:5432/postgres'
|
||||
- 'REDIS_URL=redis://default:mypassword@redis:6379'
|
||||
- 'SANDBOX_URL=http://sandbox:3000'
|
||||
- LOG_LEVEL=info
|
||||
- STORE_LOG_LEVEL=warn
|
||||
- WORKFLOW_MAX_RUN_TIMES=1000
|
||||
- WORKFLOW_MAX_LOOP_TIMES=100
|
||||
- ALLOWED_ORIGINS=
|
||||
- USE_IP_LIMIT=false
|
||||
- CHAT_FILE_EXPIRE_TIME=7
|
||||
volumes:
|
||||
- '/data/martingpt/config.json:/app/data/config.json'
|
||||
|
||||
networks:
|
||||
q00k04kgc8wk4k8okwog8owc_fastgpt:
|
||||
external: true # 声明使用外部网络
|
||||
|
||||
Reference in New Issue
Block a user