docs: add discord-bot example (#126)

This commit is contained in:
Ettore Di Giacinto 2023-04-30 00:31:28 +02:00 committed by GitHub
parent 16773e2a35
commit 54b5eadcc4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 76 additions and 3 deletions

View file

@ -0,0 +1,23 @@
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