File deduplication utility compose example.
Educational example only. Review every volume path, port, and credential before you run this. Do not copy production secrets into your wiki or git repo.
_shared/.env for non-secrets, _shared/.secret for credentialsmkdir -p /path/to/docker/stacks/dedupe
cd /path/to/docker/stacks/dedupe
# paste compose.yaml below, then:
docker compose pull
docker compose up -d
---
services:
###########################################################################
## Docker Compose File: jellemplex-dedupe
## Function: Media Duplicate Manager
## Documentation:
###########################################################################
jellyemplex-dedupe:
image: spaceinvaderone/jellemplex-dedupe:latest
container_name: dedupe
hostname: dedupe
env_file:
- /path/to/docker/stacks/_shared/.env
- /path/to/docker/stacks/_shared/.secret
environment:
# These are read from the .env and .secret files
#- JELLYFIN_SERVER=${JELLYFIN_SERVER:?err}
#- JELLYFIN_TOKEN=${JELLYFIN_TOKEN:?err}
#- PLEX_SERVER=${PLEX_SERVER:?err}
#- PLEX_TOKEN=${PLEX_TOKEN:?err}
#- EMBER_SERVER=<your_emby_server_address>
#- EMBER_TOKEN=<your_emby_api_token>
- DELETE_FILES=true
volumes:
- /path/to/docker/data/dedupe/config:/config
- /path/to/data/media:/data/media:/media
logging:
driver: json-file
options:
max-file: ${DOCKERLOGGING_MAXFILE:-10} # Max number of log files
max-size: ${DOCKERLOGGING_MAXSIZE:-200k} # Max file size
ports:
- 3369:80
restart: unless-stopped
_shared/.secret.