mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-06-10 00:02:37 -06:00
Discover Discord tokens from env, token files, GUI Settings.dat, and desktop leveldb; bind-mount the host scrape script so container preflight uses partition/--after cursors; skip inaccessible channels without aborting targets; fix set -e and busybox mktemp for incremental exports under ~/Documents. Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
606 B
YAML
19 lines
606 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
|
|
environment:
|
|
DISCORD_TOKEN: ${DISCORD_TOKEN:?Set DISCORD_TOKEN in scrape.env or your shell environment.}
|
|
TZ: ${TZ:-UTC}
|
|
volumes:
|
|
- ./config:/config:ro,z
|
|
- ./scripts/run-discord-scrape.sh:/opt/dce-scheduler/run-discord-scrape.sh:ro,z
|
|
- /home/brunner56/Documents:/home/brunner56/Documents:z
|
|
command: ["help"]
|