up
This commit is contained in:
parent
e604e22d0c
commit
1b729f8b72
@ -20,26 +20,28 @@ services:
|
||||
# tu laisses tout ce que Dokploy met déjà, ET tu ajoutes :
|
||||
- traefik.http.middlewares.webdav-allow-methods.headers.accesscontrolallowmethods=GET,PUT,POST,DELETE,PROPFIND,OPTIONS,LOCK,UNLOCK,HEAD
|
||||
- traefik.http.middlewares.webdav-allow-methods.headers.accesscontrolallowheaders=Authorization,Depth,Content-Type,If-Modified-Since,User-Agent,Destination,Overwrite
|
||||
smb:
|
||||
image: dperson/samba:latest
|
||||
container_name: samba
|
||||
ports:
|
||||
- "127.0.0.1:139:139"
|
||||
- "127.0.0.1:445:445"
|
||||
volumes:
|
||||
- shelfly_upload:/mount
|
||||
environment:
|
||||
- TZ=Europe/Paris
|
||||
command:
|
||||
- "-u" # création de l’utilisateur
|
||||
- "cangui;GHT30k7"
|
||||
- "-s" # partage “media” protégé
|
||||
- "media;/mount;yes;no;no;cangui"
|
||||
- "-g" # signature SMB obligatoire
|
||||
- "server signing = mandatory"
|
||||
- "-g"
|
||||
- "smb encrypt = disabled"
|
||||
- "-p" # ajuste les permissions filesystem
|
||||
smb:
|
||||
image: dperson/samba:latest
|
||||
container_name: samba
|
||||
ports:
|
||||
- "139:139"
|
||||
- "445:445"
|
||||
volumes:
|
||||
- shelfly_upload:/mount
|
||||
environment:
|
||||
- TZ=Europe/Paris
|
||||
command:
|
||||
- "-u"
|
||||
- "cangui;GHT30k7"
|
||||
- "-s"
|
||||
- "media;/mount;yes;no;no;cangui"
|
||||
- "-g"
|
||||
- "server signing = mandatory"
|
||||
- "-g"
|
||||
- "smb encrypt = disabled"
|
||||
- "-g"
|
||||
- "log level = 3"
|
||||
- "-p"
|
||||
|
||||
volumes:
|
||||
shelfly_upload:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user