Fine tune samba and document user creation.
This commit is contained in:
@@ -102,11 +102,15 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
NFS_DIR: /nfs-share
|
NFS_DIR: /nfs-share
|
||||||
NFS_DOMAIN: 192.168.178.0/24
|
NFS_DOMAIN: 192.168.178.0/24
|
||||||
NFS_OPTION: rw,sync,no_subtree_check,nohide,no_root_squash
|
NFS_OPTION: rw,sync,no_subtree_check,nohide,no_root_squash,fsid=0
|
||||||
volumes:
|
volumes:
|
||||||
- /media/backup:/nfs-share
|
- /media/backup:/nfs-share
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
# Exec into container at first start
|
||||||
|
# and create the user and the samba password:
|
||||||
|
# adduser USER
|
||||||
|
# smbpasswd -a USER
|
||||||
samba:
|
samba:
|
||||||
image: gists/samba-server
|
image: gists/samba-server
|
||||||
container_name: samba
|
container_name: samba
|
||||||
@@ -119,6 +123,8 @@ services:
|
|||||||
- "139:139/tcp"
|
- "139:139/tcp"
|
||||||
- "445:445/tcp"
|
- "445:445/tcp"
|
||||||
environment:
|
environment:
|
||||||
|
PUID: 1000
|
||||||
|
GUID: 1000
|
||||||
TZ: Europe/Berlin
|
TZ: Europe/Berlin
|
||||||
PASSWORD: lmaa,dw.
|
PASSWORD: lmaa,dw.
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
Reference in New Issue
Block a user