LocalAI/examples/discord-bot/docker-compose.yaml

24 lines
424 B
YAML
Raw Normal View History

2023-04-29 22:31:28 +00:00
version: '3.6'
services:
api:
image: quay.io/go-skynet/local-ai:latest
build:
context: ../../
dockerfile: Dockerfile.dev
ports:
- 8080:8080
environment:
- DEBUG=true
- MODELS_PATH=/models
volumes:
- ./models:/models:cached
command: ["/usr/bin/local-ai" ]
bot:
build:
context: ./gpt-discord-bot
dockerfile: Dockerfile
env_file:
- .env