58 lines
1.6 KiB
YAML
58 lines
1.6 KiB
YAML
---
|
|
# Media Automator - Docker Compose
|
|
# Place this file alongside config.yml on your LXC
|
|
# Run: docker compose up -d
|
|
|
|
services:
|
|
media-automator:
|
|
build: .
|
|
# Or use a pre-built image if you push one:
|
|
# image: your-registry/media-automator:latest
|
|
container_name: media-automator
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
- CONFIG_PATH=/config/config.yml
|
|
- TZ=America/New_York # <-- set your timezone
|
|
|
|
volumes:
|
|
# Config file
|
|
- ./config.yml:/config/config.yml:ro
|
|
|
|
# namer folders (LXC paths)
|
|
- /mnt/ssd3/namer:/mnt/ssd3/namer
|
|
|
|
# Transient / ready-for-copy (NFS mount from Mint VM, LXC path)
|
|
- /mnt/ssd1/transfer:/mnt/ssd1/transfer
|
|
|
|
# Whisparr import dir
|
|
- /pool/other/root/import:/pool/other/root/import
|
|
|
|
# Stash library dir
|
|
- /pool/other/root/stash:/pool/other/root/stash
|
|
|
|
# Stash temp dir (plugin output)
|
|
- /pool/other/root/stash-temp:/pool/other/root/stash-temp
|
|
|
|
# Seeding dir (optional - automator doesn't write here, but useful for visibility)
|
|
# - /mnt/hdd15/taz-transfer/seeding:/mnt/hdd15/taz-transfer/seeding:ro
|
|
|
|
ports:
|
|
- "8888:8888" # Web UI - change left side if port is taken
|
|
|
|
# Make sure this starts after your other containers
|
|
depends_on: []
|
|
# Uncomment and fill in if you use container names instead of IPs:
|
|
# depends_on:
|
|
# - whisparr
|
|
# - stash
|
|
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|
|
|
|
# Give the container read/write on mounted paths
|
|
# If you run into permission issues, set this to your LXC user's UID:GID
|
|
# user: "1000:1000"
|