github.com/10XDev/rclone@v1.52.3-0.20200626220027-16af9ab76b2a/contrib/docker/docker-compose.dlna-server.yml (about)

     1  rclone-dlna-server:
     2    container_name: rclone-dlna-server
     3  
     4    image: rclone/rclone
     5    command:
     6  # Tweak here rclone's command line switches:
     7  #    - "--config"
     8  #    - "/path/to/mounted/rclone.conf"
     9      - "--verbose"
    10      - "serve"
    11      - "dlna"
    12      - "remote:/"
    13      - "--name"
    14      - "myDLNA server"
    15      - "--read-only"
    16  #    - "--no-modtime"
    17  #    - "--no-checksum"
    18  
    19    restart: unless-stopped
    20  
    21    # Use host networking for simplicity with DLNA broadcasts
    22    # and to avoid having to do port mapping.
    23    net: host
    24  
    25    # Here you have to map your host's rclone.conf directory to
    26    # container's /root/.config/rclone/ dir (R/O).
    27    # If you have any remote referencing local files, you have to
    28    # map them here, too.
    29    volumes:
    30      - ~/.config/rclone/:/root/.config/rclone/:ro