mirror of
https://github.com/StepanovPlaton/HomeServerServices.git
synced 2026-04-03 20:30:44 +04:00
merge
This commit is contained in:
@@ -2,7 +2,7 @@ services:
|
||||
samba:
|
||||
image: dperson/samba
|
||||
container_name: samba
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "139:139"
|
||||
- "445:445"
|
||||
@@ -10,7 +10,7 @@ services:
|
||||
- ${SHARED_FOLDER:?}:/mnt/shared
|
||||
environment:
|
||||
- TZ=Europe/Samara
|
||||
- USERID=${OWNER_USERID:?} # UID вашего пользователя в Linux (id -u)
|
||||
- USERID=${OWNER_USERID:?} # UID вашего пользователя в Linux (id -u)
|
||||
- GROUPID=${OWNER_GROUPID:?} # GID вашего пользователя в Linux (id -g)
|
||||
|
||||
command: >
|
||||
@@ -20,3 +20,9 @@ services:
|
||||
-g "acl allow execute always = yes"
|
||||
-g "map archive = yes"
|
||||
-g "client max protocol = SMB3"
|
||||
networks:
|
||||
- samba_network
|
||||
|
||||
networks:
|
||||
samba_network:
|
||||
driver: bridge
|
||||
|
||||
Reference in New Issue
Block a user