limit bot-to-bot chat
This commit is contained in:
33
docker-compose.yml.nagatoro
Normal file
33
docker-compose.yml.nagatoro
Normal file
@@ -0,0 +1,33 @@
|
||||
services:
|
||||
discord2:
|
||||
build: ./
|
||||
container_name: discord2
|
||||
restart: always
|
||||
image: gitea.matrixwide.com/alex/discord-aidolls:0.1.1
|
||||
environment:
|
||||
CLIENT_TOKEN: ${CLIENT_TOKEN}
|
||||
OLLAMA_IP: ${OLLAMA_IP}
|
||||
OLLAMA_PORT: ${OLLAMA_PORT}
|
||||
REDIS_IP: ${REDIS_IP}
|
||||
REDIS_PORT: ${REDIS_PORT}
|
||||
MODEL: ${MODEL}
|
||||
networks:
|
||||
redis_discord-net:
|
||||
ipv4_address: ${DISCORD_IP}
|
||||
volumes:
|
||||
- ./discord_data2:/app/data
|
||||
- ./src:/app/src
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "-h", "${REDIS_IP}", "-p", "${REDIS_PORT}", "PING"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 10s
|
||||
|
||||
networks:
|
||||
redis_discord-net:
|
||||
external: true
|
||||
name: redis_discord-net
|
||||
|
||||
volumes:
|
||||
discord_data2:
|
||||
Reference in New Issue
Block a user