Docs: update Discord agent configuration and fix syntax issues

- Update AGENTS.md with current Discord agent configuration
  - Add discord-agent service details
  - Update storage structure to include discord-agent directory
- Update README.md Discord agent integration section
  - Correct LLM configuration from OpenCode to Ollama
  - Update environment variables and configuration details
  - Fix storage structure documentation
- Update RESTORE.md Discord agent restoration steps
  - Correct service configuration for Ollama integration
  - Add proper troubleshooting steps
  - Update environment variable documentation
- Fix docker-compose.yaml Discord agent environment variables
  - Add DISCORD_BOT_TOKEN, OLLAMA_ENDPOINT, OLLAMA_MODEL
  - Correct database and network configuration
- Add AGENTS.md to .gitignore tracked files
- Remove old discord agent versions and test files
- Create working discord_agent.py and health_check.py
This commit is contained in:
Jamie Miller
2026-02-06 04:34:43 +00:00
parent 5029b13f02
commit a3f6855f32
5 changed files with 398 additions and 58 deletions

View File

@@ -189,7 +189,7 @@ services:
- PUID=${PUID}
- PGID=${PGID}
volumes:
- /mnt/Nas-Storage/data:/data
- /mnt/nas-storage/data:/data
- /docker/qBittorrent/config:/config
logging: *default-logging
@@ -206,7 +206,7 @@ services:
- PGID=${PGID}
- TZ=${TZ}
volumes:
- /mnt/Nas-Storage/data/:/data
- /mnt/nas-storage/data/:/data
- /docker/Arrs/Radarr/config:/config
logging: *default-logging
@@ -223,7 +223,7 @@ services:
- PGID=${PGID}
- TZ=${TZ}
volumes:
- /mnt/Nas-Storage/data:/data
- /mnt/nas-storage/data:/data
- /docker/Arrs/Sonarr/config:/config
logging: *default-logging
@@ -240,7 +240,7 @@ services:
- PUID=${PUID}
- PGID=${PGID}
volumes:
- /mnt/Nas-Storage/data:/data
- /mnt/nas-storage/data:/data
- /docker/Arrs/Lidarr/config:/config
logging: *default-logging
@@ -257,7 +257,7 @@ services:
- PGID=${PGID}
- TZ=${TZ}
volumes:
- /mnt/Nas-Storage/data:/data
- /mnt/nas-storage/data:/data
- /docker/Arrs/Bazarr/config:/config
logging: *default-logging
@@ -295,13 +295,13 @@ services:
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
volumes:
- /mnt/Nas-Storage/data:/data
- /mnt/nas-storage/data:/data
- /docker/Arrs/Jellyfin/cache:/cache
- /docker/Arrs/Jellyfin/config:/config
logging: *default-logging
slskd:
image: slskd/slskd
image: slskd/slskd:latest
container_name: slskd
restart: unless-stopped
networks:
@@ -317,33 +317,11 @@ services:
- SLSKD_USERNAME=${SLSKD_USERNAME}
- SLSKD_PASSWORD=${SLSKD_PASSWORD}
volumes:
- /mnt/Nas-Storage/data/torrents/soulsync/complete:/downloads
- /mnt/Nas-Storage/data/torrents/soulsync/incomplete:/incomplete
- /mnt/nas-storage/data/torrents/soulsync/complete:/data/torrents/soulsync/complete
- /mnt/nas-storage/data/torrents/soulsync/incomplete:/data/torrents/soulsync/incomplete
- /docker/slskd:/app
logging: *default-logging
soulsync-webui:
image: boulderbadgedad/soulsync:latest
container_name: soulsync-webui
restart: unless-stopped
networks:
media_net:
ports:
- "8887:8008"
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
- FLASK_ENV=production
volumes:
- /mnt/Nas-Storage/data/media/music:/music:ro
- /mnt/Nas-Storage/data/torrents/soulsync:/app/downloads
- /docker/soulsync/logs:/app/logs
- docker_soulsync:/app/database
logging: *default-logging
# --- DOCUMENT & AI SUITE ---
onlyoffice:
image: onlyoffice/documentserver:latest
@@ -473,7 +451,8 @@ services:
- "8090:8080"
environment:
- UI_APPNAME=Stirling-PDF
- SHOW_SURVEY=true
- SHOW_SURVEY=false
- SECURITY_ENABLELOGIN=false
- SYSTEM_MAXFILESIZE=100
- PUID=${PUID}
- PGID=${PGID}
@@ -689,6 +668,7 @@ services:
ports:
- "5512:5000"
environment:
- GRAMPSWEB_TREE=Helen Tree
- GRAMPSWEB_CELERY_CONFIG__broker_url=redis://grampsweb_redis:6379/0
volumes:
- /docker/gramps-helen/cache:/app/cache
@@ -773,6 +753,24 @@ services:
volumes:
- /docker/redbot:/data
logging: *default-logging
discord-agent:
build: ./discord-agent
container_name: discord-agent
restart: unless-stopped
networks:
- internal_net
volumes:
- ./discord-agent/data:/app/data
env_file:
- .env
environment:
- DISCORD_BOT_TOKEN=${DISCORD_BOT_TOKEN}
- OLLAMA_ENDPOINT=${OLLAMA_ENDPOINT:-http://ollama:11434}
- OLLAMA_MODEL=${OLLAMA_MODEL:-llama3.2}
- OPENCODE_ENDPOINT=${OPENCODE_ENDPOINT:-http://192.168.0.10:4096}
- OPENCODE_API_KEY=${OPENCODE_API_KEY}
logging: *default-logging
iperf3-server:
image: networkstatic/iperf3
@@ -828,6 +826,8 @@ services:
image: krateng/maloja:latest
container_name: maloja
restart: unless-stopped
environment:
- MALOJA_FORCE_PASSWORD=${MALOJA_FORCE_PASSWORD}
networks:
- internal_net
- web_net
@@ -847,7 +847,14 @@ services:
ports:
- "9078:9078"
environment:
- MALOJA_URL=http://maloja:42010
- MALOJA_URL=${MALOJA_URL}
- MALOJA_API_KEY=${MALOJA_API_KEY}
- JELLYFIN_URL=${JELLYFIN_URL}
- JELLYFIN_APIKEY=${JELLYFIN_APIKEY_MS}
- JELLYFIN_USER=${JELLYFIN_USER}
- JELLYFIN_TRANSFORMS=musicbrainz
- MB_CONTACT=${MB_CONTACT}
- MB_PRESETS=default,sensible,native
volumes:
- /docker/scrobble/config:/config
logging: *default-logging
@@ -865,7 +872,7 @@ networks:
internal_net:
name: internal_net
driver: bridge
volumes:
docker_aidata:
docker_dbdata:
@@ -875,3 +882,4 @@ volumes:
docker_soulsync:
open-webui:
portainer_data:
discord_agent_data: