winding back to single-bot
This commit is contained in:
@@ -3,7 +3,7 @@ services:
|
||||
build: ./
|
||||
container_name: discord
|
||||
restart: always
|
||||
image: gitea.matrixwide.com/alex/discord-aidolls:0.1.0
|
||||
image: gitea.matrixwide.com/alex/discord-aidolls:0.1.1
|
||||
environment:
|
||||
CLIENT_TOKEN: ${CLIENT_TOKEN}
|
||||
OLLAMA_IP: ${OLLAMA_IP}
|
||||
@@ -12,29 +12,22 @@ services:
|
||||
REDIS_PORT: ${REDIS_PORT}
|
||||
MODEL: ${MODEL}
|
||||
networks:
|
||||
ollama-net:
|
||||
redis_discord-net:
|
||||
ipv4_address: ${DISCORD_IP}
|
||||
volumes:
|
||||
- discord:/app/data
|
||||
- ./discord_data:/app/data
|
||||
- ./src:/app/src
|
||||
redis:
|
||||
image: redis:alpine
|
||||
container_name: redis
|
||||
restart: always
|
||||
networks:
|
||||
ollama-net:
|
||||
ipv4_address: ${REDIS_IP}
|
||||
volumes:
|
||||
- redis:/data
|
||||
ports:
|
||||
- ${REDIS_PORT}:${REDIS_PORT}
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "-h", "${REDIS_IP}", "-p", "${REDIS_PORT}", "PING"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 10s
|
||||
|
||||
networks:
|
||||
ollama-net:
|
||||
driver: bridge
|
||||
ipam:
|
||||
driver: default
|
||||
config:
|
||||
- subnet: ${SUBNET_ADDRESS}/16
|
||||
redis_discord-net:
|
||||
external: true
|
||||
name: redis_discord-net
|
||||
|
||||
volumes:
|
||||
discord:
|
||||
redis:
|
||||
discord_data:
|
||||
|
||||
Reference in New Issue
Block a user