我有一个带docker的Ubuntu服务器。 我正在将Radarr和Transmission-VPN作为容器运行,但无法使它们看到相同的文件夹或正确导入电影,我已下载了电影,但Radarr无法拾取它。
我已经尝试了很多映射和一些远程映射,但是我认为我做错了
我的docker-compose文件的一些示例:
#TRANSMISSION-VPN
transmission-vpn:
container_name: transmission-vpn
image: haugene/transmission-openvpn
restart: always
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
dns:
- 1.1.1.1
- 1.0.0.1
ports:
- "9002:9091"
volumes:
- /etc/localtime:/etc/localtime:ro
- ${USERDIR}/docker/transmission-vpn:/data
- ${USERDIR}/docker/shared:/shared
- ${USERDIR}/nas/carlostiberiojr/downloads:/data/watch
- ${USERDIR}/nas/carlostiberiojr/downloads/completed:/data/completed
- ${USERDIR}/nas/carlostiberiojr/downloads/incomplete:/data/incomplete
...
#RADARR
radarr:
image: "linuxserver/radarr"
container_name: "radarr"
restart: always
ports:
- "9003:7878"
volumes:
- /etc/localtime:/etc/localtime:ro
- ${USERDIR}/docker/radarr:/config
- ${USERDIR}/docker/shared:/shared
- ${USERDIR}/nas/carlostiberiojr/downloads:/downloads
- ${USERDIR}/nas/carlostiberiojr/downloads/completed:/data/completed
- ${USERDIR}/nas/carlostiberiojr/media/movies:/movies
...
我想正确完成所有映射,或者可能对我如何进行远程映射有帮助...
非常感谢!
答案 0 :(得分:0)
我解决了:
我删除了:
- ${USERDIR}/nas/carlostiberiojr/downloads/completed:/data/completed
来自Radarr
AND:
按如下方式配置远程路径映射:
主机:雷达主机(在我的情况下为192.168.1.2)
远程路径: / data / completed /(传输正在保存完成的下载)
本地路径: / downloads / completed /(Radarr可以在其中找到)