项目文件夹

文件
2023-08-27 15:48:30 +07:00

16 行
505 B
YAML

version: '3.6'
services:
llama-gpt-ui-mac:
build:
context: ./ui
dockerfile: no-wait.Dockerfile
ports:
- 3000:3000
restart: on-failure
environment:
- 'OPENAI_API_KEY=sk-XXXXXXXXXXXXXXXXXXXX'
- 'OPENAI_API_HOST=http://host.docker.internal:3001'
- 'DEFAULT_MODEL=$MODEL'
- 'NEXT_PUBLIC_DEFAULT_SYSTEM_PROMPT=${DEFAULT_SYSTEM_PROMPT:-"You are a helpful and friendly AI assistant. Respond very concisely and use markdown if responding with code."}'