2025-06-06 09:55:54 +00:00
|
|
|
|
version: '3.8'
|
2025-06-12 08:57:10 +00:00
|
|
|
|
|
2025-06-06 09:55:54 +00:00
|
|
|
|
services:
|
|
|
|
|
|
shelfly:
|
|
|
|
|
|
build:
|
|
|
|
|
|
context: .
|
|
|
|
|
|
dockerfile: Dockerfile.dev
|
|
|
|
|
|
ports:
|
|
|
|
|
|
- "4000:4000"
|
2025-06-17 20:05:00 +00:00
|
|
|
|
extra_hosts:
|
|
|
|
|
|
- "dockerhost:192.168.1.207"
|
2025-06-06 09:55:54 +00:00
|
|
|
|
volumes:
|
|
|
|
|
|
- .:/app
|
2025-06-19 12:02:11 +00:00
|
|
|
|
- shelfly_upload:/app/upload
|
2025-06-19 15:20:58 +00:00
|
|
|
|
- shelfly_db:/app/shelfly_db
|
2025-06-12 08:57:10 +00:00
|
|
|
|
dns:
|
|
|
|
|
|
- 8.8.8.8
|
|
|
|
|
|
- 1.1.1.1
|
2025-06-18 19:18:22 +00:00
|
|
|
|
labels:
|
|
|
|
|
|
# tu laisses tout ce que Dokploy met déjà, ET tu ajoutes :
|
2025-06-19 12:59:01 +00:00
|
|
|
|
- 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
|
2025-06-22 10:02:21 +00:00
|
|
|
|
smb:
|
2025-06-22 09:58:16 +00:00
|
|
|
|
image: dperson/samba:latest
|
|
|
|
|
|
container_name: samba
|
2025-06-19 07:55:06 +00:00
|
|
|
|
ports:
|
2025-06-22 09:58:16 +00:00
|
|
|
|
- "127.0.0.1:139:139"
|
|
|
|
|
|
- "127.0.0.1:445:445"
|
2025-06-19 07:55:06 +00:00
|
|
|
|
volumes:
|
2025-06-22 09:58:16 +00:00
|
|
|
|
- shelfly_upload:/mount
|
|
|
|
|
|
environment:
|
2025-06-22 10:02:21 +00:00
|
|
|
|
- TZ=Europe/Paris
|
2025-06-22 09:58:16 +00:00
|
|
|
|
command:
|
2025-06-22 10:02:21 +00:00
|
|
|
|
- "-u" # création de l’utilisateur
|
2025-06-22 10:08:18 +00:00
|
|
|
|
- "cangui;GHT30k7"
|
2025-06-22 10:02:21 +00:00
|
|
|
|
- "-s" # partage “media” protégé
|
2025-06-22 09:58:16 +00:00
|
|
|
|
- "media;/mount;yes;no;no;cangui"
|
2025-06-22 10:02:21 +00:00
|
|
|
|
- "-g" # signature SMB obligatoire
|
2025-06-22 09:58:16 +00:00
|
|
|
|
- "server signing = mandatory"
|
2025-06-22 10:02:21 +00:00
|
|
|
|
- "-g" # chiffrement SMB requis
|
2025-06-22 09:58:16 +00:00
|
|
|
|
- "smb encrypt = required"
|
2025-06-22 10:02:21 +00:00
|
|
|
|
- "-p" # ajuste les permissions filesystem
|
2025-06-19 13:00:15 +00:00
|
|
|
|
|
2025-06-19 12:02:11 +00:00
|
|
|
|
volumes:
|
|
|
|
|
|
shelfly_upload:
|
2025-06-19 15:20:58 +00:00
|
|
|
|
shelfly_db:
|