mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-06-10 00:02:37 -06:00
Use padded sort for last_message_id cursor, surface guild channel discovery errors, and document DCE_ARCHIVE_ROOT in compose.
23 lines
755 B
YAML
23 lines
755 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
|
|
# Host path must match archive_root in config/scrape-targets.json (override on other machines).
|
|
- ${DCE_ARCHIVE_ROOT:-/home/brunner56/Documents}:${DCE_ARCHIVE_ROOT:-/home/brunner56/Documents}:z
|
|
command: ["help"]
|