First commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
cbz-downloader:
|
||||
build: .
|
||||
container_name: 2000ad-downloader
|
||||
environment:
|
||||
- EMAIL=${EMAIL:-your_email@example.com}
|
||||
- PASSWORD=${PASSWORD:-your_password}
|
||||
- OUTPUT_DIR=/app/downloads
|
||||
volumes:
|
||||
- ./downloads:/app/downloads
|
||||
# Optional: Mount the script for easy editing without rebuilding
|
||||
- ./download_cbz.py:/app/download_cbz.py
|
||||
restart: "no"
|
||||
# Uncomment below to run on a schedule instead of immediately
|
||||
# command: sh -c "while true; do python download_cbz.py && sleep 86400; done"
|
||||
Reference in New Issue
Block a user