2023-04-12 10:17:18 -04: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-11 22:29:41 -04:00
|
|
|
- ${DATA_DIR}/weights:/usr/src/app/models
|
2023-04-12 10:17:18 -04:00
|
|
|
environment:
|
|
|
|
- HOST=llama-python-server
|
2023-04-11 22:29:41 -04:00
|
|
|
- MODEL=./models/30B.bin
|
2023-04-12 10:17:18 -04:00
|
|
|
llama-python-djs-bot:
|
|
|
|
container_name: llama-python-djs-bot
|
|
|
|
restart: unless-stopped
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
depends_on:
|
|
|
|
- llama-python-server
|
|
|
|
environment:
|
|
|
|
- THE_TOKEN
|
|
|
|
- CHANNEL_IDS
|
2023-04-11 22:29:41 -04:00
|
|
|
- INIT_PROMPT
|
2023-04-12 10:17:18 -04:00
|
|
|
- ROOT_IP=llama-python-server
|
2023-04-12 10:19:27 -04:00
|
|
|
- ROOT_PORT=8000
|
2023-04-11 22:29:41 -04:00
|
|
|
- CACHE=1
|