DiscordChatExporter/docker-compose.yml
Boden 90bd9da143 feat(scrape): harden preflight and cron config for Documents archives
Preflight probes skip forbidden channels when seeded archives exist.
Cron installer passes container config path and supports --config override.
Compose and docs align with append-only ~/Documents scrape workflow.
2026-05-29 13:49:09 -05:00

22 lines
653 B
YAML

services:
discord-scraper:
build:
context: .
dockerfile: Dockerfile
image: discordchatexporter-cron:local
init: true
user: "${DCE_UID:-1000}:${DCE_GID:-1000}"
userns_mode: "${DCE_USERNS_MODE:-}"
working_dir: /workspace
env_file:
- path: scrape.env
required: false
environment:
DISCORD_TOKEN: ${DISCORD_TOKEN:-}
TZ: ${TZ:-UTC}
volumes:
- ./config:/config:ro,z
- ./scripts/run-discord-scrape.sh:/opt/dce-scheduler/run-discord-scrape.sh:ro,z
- ${DCE_ARCHIVE_ROOT:-/home/brunner56/Documents}:${DCE_ARCHIVE_ROOT:-/home/brunner56/Documents}:z
command: ["help"]