mirror of
https://github.com/bybrooklyn/alchemist.git
synced 2026-04-18 01:43:34 -04:00
32 lines
913 B
YAML
32 lines
913 B
YAML
services:
|
|
alchemist:
|
|
image: ghcr.io/bybrooklyn/alchemist:latest
|
|
container_name: alchemist
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3000:3000"
|
|
volumes:
|
|
# Configuration file
|
|
- ${HOME}/.config/alchemist/config.toml:/app/config/config.toml:ro
|
|
# Media directories (adjust paths as needed)
|
|
- /path/to/media:/media
|
|
- /path/to/output:/output
|
|
# Persistent database
|
|
- ${HOME}/.config/alchemist:/app/data
|
|
environment:
|
|
- RUST_LOG=info
|
|
- TZ=America/New_York
|
|
- ALCHEMIST_CONFIG_PATH=/app/config/config.toml
|
|
- ALCHEMIST_DB_PATH=/app/data/alchemist.db
|
|
- ALCHEMIST_CONFIG_MUTABLE=false
|
|
# For Intel QuickSync (uncomment if needed)
|
|
# devices:
|
|
# - /dev/dri:/dev/dri
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: 1
|
|
capabilities: [gpu]
|