Mystic Binder is a containerized Python application designed to fetch and store Magic: The Gathering card data from the Scryfall API into a PostgreSQL database. The application includes robust notifications via Discord Webhooks and scheduled data updates using cron.
cron.The application requires the following environment variables to be set:
| Variable | Description |
|---|---|
DISCORD_WEBHOOK_URL | URL for the Discord Webhook to send notifications. |
DB_NAME | Name of the PostgreSQL database. |
DB_USER | Username for connecting to the database. |
DB_PASSWORD | Password for the database user. |
DB_HOST | Hostname or IP address of the PostgreSQL server. |
version: '3.8'
services:
mystic-binder:
image: mystic-binder:latest
container_name: mystic-binder
environment:
- DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/your-webhook-id
- DB_NAME=mysticbinder
- DB_USER=mbadmin
- DB_PASSWORD=yourpassword
- DB_HOST=localhost
volumes:
- mystic-binder-data:/app/data
restart: unless-stopped
Content type
Image
Digest
sha256:fd92dfa05…
Size
81.4 MB
Last updated
almost 2 years ago
docker pull acidrs/mysticbinder