-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcompose.yml
More file actions
19 lines (19 loc) · 766 Bytes
/
compose.yml
File metadata and controls
19 lines (19 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
services:
samba:
image: ghcr.io/servercontainers/samba:a3.18.0-s4.18.2-r0
network_mode: host
cap_add:
- CAP_NET_ADMIN
restart: always
environment:
SAMBA_CONF_SERVER_STRING: "XA30WO-SAMBA-SERVER"
SAMBA_CONF_LOG_LEVEL: 3
GROUP_data: 7777
ACCOUNT_sambauser: sambapasswd
UID_sambauser: 7000
GROUPS_sambauser: data
SAMBA_VOLUME_CONFIG_data: "[Data]; path=/shares/data; valid users = sambauser; guest ok = no; read only = no; browseable = yes; force group = data"
SAMBA_VOLUME_CONFIG_scripts: "[Scripts]; path=/shares/scripts; valid users = sambauser; guest ok = no; read only = no; browseable = yes; force group = data"
volumes:
- ./shares/data:/shares/data
- ./:/shares/scripts