mirror of
https://github.com/rclone/rclone.git
synced 2024-11-26 02:14:42 +01:00
Contrib: Add sample DLNA server Docker Compose manifest.
This commit is contained in:
parent
b6065561cf
commit
4374fd1df1
30
contrib/docker/docker-compose.dlna-server.yml
Normal file
30
contrib/docker/docker-compose.dlna-server.yml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
rclone-dlna-server:
|
||||||
|
container_name: rclone-dlna-server
|
||||||
|
|
||||||
|
image: rclone/rclone
|
||||||
|
command:
|
||||||
|
# Tweak here rclone's command line switches:
|
||||||
|
# - "--config"
|
||||||
|
# - "/path/to/mounted/rclone.conf"
|
||||||
|
- "--verbose"
|
||||||
|
- "serve"
|
||||||
|
- "dlna"
|
||||||
|
- "remote:/"
|
||||||
|
- "--name"
|
||||||
|
- "myDLNA server"
|
||||||
|
- "--read-only"
|
||||||
|
# - "--no-modtime"
|
||||||
|
# - "--no-checksum"
|
||||||
|
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
# Use host networking for simplicity with DLNA broadcasts
|
||||||
|
# and to avoid having to do port mapping.
|
||||||
|
net: host
|
||||||
|
|
||||||
|
# Here you have to map your host's rclone.conf directory to
|
||||||
|
# container's /root/.config/rclone/ dir (R/O).
|
||||||
|
# If you have any remote referencing local files, you have to
|
||||||
|
# map them here, too.
|
||||||
|
volumes:
|
||||||
|
- ~/.config/rclone/:/root/.config/rclone/:ro
|
Loading…
Reference in New Issue
Block a user