Compose-Examples/examples/metube/docker-compose.yml
2024-11-23 00:12:37 +01:00

29 lines
767 B
YAML

services:
metube:
image: alexta69/metube
container_name: metube
hostname: metube
restart: unless-stopped
environment:
- DELETE_FILE_ON_TRASHCAN=false
ports:
- "8081:8081" # web ui
expose:
- 8081
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/metube/downloads:/downloads
#networks:
# - proxy
#labels:
# - traefik.enable=true
# - traefik.http.routers.metube.rule=Host(`metube.example.com`)
# - traefik.http.services.metube.loadbalancer.server.port=8081
# - traefik.docker.network=proxy
# # Part for optional traefik middlewares
# - traefik.http.routers.metube.middlewares=local-ipwhitelist@file,basic-auth@file
#networks:
# proxy:
# external: true