chore: docker cleanup/refactoring

This commit is contained in:
Brock H Caldwell
2025-11-04 12:55:19 -06:00
parent adb79db8f5
commit 7cc48ffc73
6 changed files with 43 additions and 52 deletions

View File

@@ -13,8 +13,6 @@ services:
- /mnt/media/downloads/tvshows:/var/download/tvshows
- mercure_data:/data
- mercure_config:/config
depends_on:
- database
worker:
@@ -22,36 +20,21 @@ services:
volumes:
- /mnt/media/downloads/movies:/var/download/movies
- /mnt/media/downloads/tvshows:/var/download/tvshows
restart: always
# command: -vv --time-limit=3600 --limit=10
deploy:
replicas: 2
depends_on:
- app
#
# scheduler:
# image: registry.caldwell.digital/home/torsearch-scheduler:${TAG}
# volumes:
# - /mnt/media/downloads/movies:/var/download/movies
# - /mnt/media/downloads/tvshows:/var/download/tvshows
# restart: always
# command: -vv
# depends_on:
# - app
redis:
image: redis:latest
scheduler:
image: registry.caldwell.digital/home/torsearch-scheduler:${TAG}
volumes:
- redis_data:/data
command: redis-server --maxmemory 512MB
restart: unless-stopped
- /mnt/media/downloads/movies:/var/download/movies
- /mnt/media/downloads/tvshows:/var/download/tvshows
depends_on:
- app
volumes:
mysql:
mercure_config:
mercure_data:
redis_data: