I finally found a docker that works like i want.
I want to share my existed folder Musica , I do not want and empty /webdav folder inside my Music folder, I want to share my /Music folder and all his content/Files.
you need to edit to your needs this cocker-compose file:
Code
networks:
my-net:
external: true
services:
sabredav:
image: maksimkurb/sabre-webdav:latest
container_name: sabredav
networks:
my-net:
volumes:
- $Video:/webdav
# - $HOME/docker/webdav/htpasswd:/opt/nginx/conf/htpasswd:ro
environment:
- UID=1000
- GID=100
- TZ=$TZ # No se si sirve de algo
ports:
- 83:80
restart: unless-stopped
Display More
Go to stack on portainer and deploy, must work, and you can see your shared folder and all files on it(www-dataww:
pasted-from-clipboard_autoscaled.jpg
PD: I add the user 33 = www-data to group users to avoid permission problems