Skip to main content

YouTubeDL-Material

version: "2"
services:
    ytdl_material:
        environment: 
            ALLOW_CONFIG_MUTATIONS: 'true'
            ytdl_mongodb_connection_string: 'mongodb://ytdl-mongo-db:27017'
            ytdl_use_local_db: 'false'
            write_ytdl_config: 'true'
        restart: unless-stopped
        depends_on:
            - ytdl-mongo-db
        volumes:
            - /srv/path/Files/YTDL/appdata:/app/appdata
            - /srv/path/Files/YTDL/audio:/app/audio
            - /srv/path/Files/YTDL/video:/app/video
            - /srv/path/Files/YTDL/subscriptions:/app/subscriptions
            - /srv/path/Files/YTDL/users:/app/users
        ports:
            - "8998:17442"
        image: tzahi12345/youtubedl-material:latest
    ytdl-mongo-db:
        image: mongo
        ports:
            - "27017:27017"
        logging:
            driver: "none"          
        container_name: ytdl-mongo-db
        restart: unless-stopped
        volumes:
            - /srv/path/Files/YTDL/db/:/data/db

 

OLD

version: '3.3'
services:
    youtubedl-material:
        container_name: ytdl-material
        volumes:
            - '/srv/path/Files/YTDL/appdata:/app/appdata'
            - '/srv/path/Files/YTDL/audio:/app/audio'
            - '/srv/path/Files/YTDL/video:/app/video'
            - '/srv/path/Files/YTDL/subscriptions:/app/subscriptions'
            - '/srv/path/Files/YTDL/users:/app/users'
        ports:
            - '8998:17442'
        image: 'tzahi12345/youtubedl-material:latest'
        restart: unless-stopped