Ytdl

---

###
# multi-user YouTube archive tool
###

services:
  youtube:
    image: tzahi12345/youtubedl-material:latest
    container_name: youtube
    restart: unless-stopped
    depends_on:
      - db-youtube
    environment:
      ytdl_mongodb_connection_string: 'mongodb://db-youtube:27017'
      ytdl_use_local_db: 'false'
      write_ytdl_config: 'true'

    volumes:
      - ./appdata:/app/appdata
      - ./audio:/app/audio
      - ./video:/app/video
      - ./subscriptions:/app/subscriptions
      - ./users:/app/users
    ports:
      - "8998:17442"

  db-youtube:
    # If you are using a Raspberry Pi, use mongo:4.4.18
    image: mongo:4
    container_name: db-youtube
    restart: unless-stopped
    logging:
      driver: "none"
    volumes:
      - ./db/:/data/db