1
0

29 lines
735 B
YAML
Raw Normal View History

2023-04-12 16:17:18 +02: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 16:19:27 +02:00
- ${DATA_DIR}:/usr/src/app/models
2023-04-12 16:17:18 +02:00
environment:
- HOST=llama-python-server
2023-05-08 21:12:57 +02:00
- MODEL=./models/ggml-vic7b-q4_0.bin
2023-04-12 16:17:18 +02:00
llama-python-djs-bot:
container_name: llama-python-djs-bot
restart: unless-stopped
build:
context: .
depends_on:
- llama-python-server
environment:
- THE_TOKEN
- REFRESH_INTERVAL
2023-04-12 16:17:18 +02:00
- CHANNEL_IDS
- ROOT_IP=llama-python-server
2023-04-12 16:19:27 +02:00
- ROOT_PORT=8000
2023-04-27 02:56:27 +02:00
- INIT_PROMPT='Assistant Name':' ChatAI. You code, write and provide any information without any mistakes.'