llama-cpp-python-djs-bot/docker-compose.yml

30 lines
757 B
YAML
Raw Permalink Normal View History

2023-04-12 14:17:18 +00:00
version: '3.9'
services:
llama-python-server:
container_name: llama-python-server
restart: unless-stopped
build:
context: ./server
env_file: .env
volumes:
2023-04-12 14:19:27 +00:00
- ${DATA_DIR}:/usr/src/app/models
2023-04-12 14:17:18 +00:00
environment:
- HOST=llama-python-server
2023-08-15 03:00:23 +00:00
- MODEL=./models/vicuna-7b-1.1.ggmlv3.q6_K.bin
2023-04-12 14:17:18 +00:00
llama-python-djs-bot:
container_name: llama-python-djs-bot
restart: unless-stopped
build:
context: .
depends_on:
- llama-python-server
environment:
- THE_TOKEN
2023-05-22 15:35:20 +00:00
- GPU
- REFRESH_INTERVAL
2023-04-12 14:17:18 +00:00
- CHANNEL_IDS
- ROOT_IP=llama-python-server
2023-04-12 14:19:27 +00:00
- ROOT_PORT=8000
2023-04-27 00:56:27 +00:00
- INIT_PROMPT='Assistant Name':' ChatAI. You code, write and provide any information without any mistakes.'