Add docker-compose configuration for plex-image-cleanup service

This commit is contained in:
2025-11-21 19:21:55 -05:00
parent d90b9affd9
commit e0ddc3aeed

View File

@@ -0,0 +1,25 @@
version: "2.1"
services:
plex-image-cleanup:
image: meisnate12/plex-image-cleanup
container_name: plex-image-cleanup
environment:
- TZ=America/New_York
- SCHEDULE=00:33|monthly(1)
- PLEX_URL=http://plex:32400
- PLEX_TOKEN=PlexToken
- DISCORD=https://discord.com/api/webhooks/YourDiscordServerID/YourDiscordToken
- TIMEOUT=600
- MODE=remove
volumes:
- /docker-containers/plex-image-cleanup/config:/config
- /docker-containers/plex/Library/Application Support/Plex Media Server/:/plex
restart: unless-stopped
stdin_open: true # to attach to containers
tty: true # also used to attach to containers
# network_mode: service:wireguard # To run through vpn service container, in turn UI port must be forwarded inside vpn. No local access unless otherwise defined
networks: # Specify network for container
- homelab
networks: # I don't know why but you have to specify the network 2x. In service, and in this tag area..
homelab:
external: true # This option causes compose to join the above network instead of making a _default one (supposedly)