Add file services: Samba, Filebrowser

This commit is contained in:
rezayaghobi-dev
2026-07-10 21:27:34 +03:30
parent 4c9b75bb5a
commit 436087faf3
3 changed files with 41 additions and 0 deletions

2
samba/.env.example Normal file
View File

@@ -0,0 +1,2 @@
# Format: username;password
SAMBA_USER=username;change-me

20
samba/docker-compose.yml Normal file
View File

@@ -0,0 +1,20 @@
services:
samba:
image: dperson/samba:latest
container_name: samba
network_mode: host
env_file:
- .env
environment:
- TZ=Asia/Tehran
- USER=${SAMBA_USER}
- NMBD=false
- SMBD=true
- WSDD2=false
- AVAHI=false
- CONFIGFILE=/etc/samba/smb.conf
volumes:
- /home/rezayaghobi/docker/samba/config/smb.conf:/etc/samba/smb.conf
- /mnt/storage:/mount/main
- /mnt/hdd3:/mount/game_backups
restart: unless-stopped