mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-06 09:20:33 +00:00
18 lines
445 B
YAML
18 lines
445 B
YAML
|
version: "3.5"
|
||
|
|
||
|
services:
|
||
|
gpt4all_api:
|
||
|
image: gpt4all_api
|
||
|
container_name: gpt4all_api
|
||
|
restart: always #restart on error (usually code compilation from save during bad state)
|
||
|
ports:
|
||
|
- "4891:4891"
|
||
|
environment:
|
||
|
- APP_ENVIRONMENT=dev
|
||
|
- WEB_CONCURRENCY=2
|
||
|
- LOGLEVEL=debug
|
||
|
- PORT=4891
|
||
|
- model=ggml-mpt-7b-chat.bin
|
||
|
volumes:
|
||
|
- './gpt4all_api/app:/app'
|
||
|
command: ["/start-reload.sh"]
|