Files
NemesisAI/compose.yaml
2024-12-26 00:35:45 +01:00

24 lines
552 B
YAML

services:
nemesisBot:
image: telegrambot
build:
context: .
dockerfile: TelegramBot/Dockerfile
env_file:
- TelegramBot/.env
llm-server:
image: ghcr.io/ggerganov/llama.cpp:server-cuda
container_name: llm-server
volumes:
- ${MODEL_PATH}:/models
ports:
- "80:80"
command: -m /models/${MODEL_NAME} --port 80 --host 0.0.0.0 -n 512
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]