mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-06-10 00:02:37 -06:00
Mount logs/ in compose, map DCE_RUN_SUMMARY_FILE to /logs, and auto-enable JSON summary beside operator-validation log files when scraping.
33 lines
1.6 KiB
Plaintext
33 lines
1.6 KiB
Plaintext
# Copy this file to scrape.env and fill in your real values.
|
|
DISCORD_TOKEN=
|
|
# Optional: file whose first line contains DISCORD_TOKEN. Useful for token rotation without editing this env file.
|
|
# Standard locations also auto-discovered: .discord-token (repo root) and ~/.config/discord-scrape/token
|
|
DISCORD_TOKEN_FILE=
|
|
# Optional: DiscordChatExporter GUI Settings.dat (encrypted LastToken decrypted on same machine)
|
|
# DISCORDCHATEXPORTER_SETTINGS_PATH=/path/to/Settings.dat
|
|
# Optional (manual runs only): command to refresh Discord auth/session before one retry.
|
|
# Optional absolute path to an executable reauth script under the repository root.
|
|
# Example: DCE_REAUTH_COMMAND="/path/to/repo/scripts/reauth-discord.sh"
|
|
DCE_REAUTH_COMMAND=
|
|
TZ=UTC
|
|
|
|
# Match these to the host user that should own created files.
|
|
DCE_UID=1000
|
|
DCE_GID=1000
|
|
|
|
# For rootless podman, set this to keep-id so mounted archive roots stay writable.
|
|
# Leave it empty on Docker unless you explicitly need a user namespace mode there.
|
|
DCE_USERNS_MODE=
|
|
|
|
# Optional: raise scrape container memory for multi-year channel catch-up (yes_general, etc.).
|
|
# Examples: 8g, 8192m. Default 0 = no compose memory cap.
|
|
# Optional: raise container memory for large multi-year channel catch-up (compose mem_limit).
|
|
# Per-target: set container_memory on a target in config/scrape-targets.json (single --target runs).
|
|
# Global override (wins over config): uncomment below.
|
|
# DCE_CONTAINER_MEMORY=8g
|
|
|
|
# Optional: machine-readable scrape summary (run-discord-scrape.sh).
|
|
# Host paths under logs/ map to /logs/ in the container (see docker-compose.yml).
|
|
# DCE_RUN_SUMMARY_JSON=1
|
|
# DCE_RUN_SUMMARY_FILE=logs/scrape-summary.json
|