forked from mbentley/docker-timemachine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
timemachine-compose-smb.yml
45 lines (44 loc) · 1.13 KB
/
timemachine-compose-smb.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
version: "3.7"
services:
timemachine:
network_mode: "host"
environment:
- CUSTOM_SMB_CONF=false
- CUSTOM_USER=false
- DEBUG_LEVEL=1
- EXTERNAL_CONF=
- HIDE_SHARES=no
- MIMIC_MODEL=TimeCapsule8,119
- TM_USERNAME=timemachine
- TM_GROUPNAME=timemachine
- TM_UID=1000
- TM_GID=1000
- PASSWORD=timemachine
- SET_PERMISSIONS=false
- SHARE_NAME=TimeMachine
- SMB_INHERIT_PERMISSIONS=no
- SMB_NFS_ACES=yes
- SMB_PORT=445
- SMB_VFS_OBJECTS=fruit streams_xattr
- VOLUME_SIZE_LIMIT=0
- WORKGROUP=WORKGROUP
restart: unless-stopped
ports:
- "137:137/udp"
- "138:138/udp"
- "139:139"
volumes:
- /path/to/your/timemachine/volume:/opt/timemachine
- timemachine-var-lib-samba:/var/lib/samba
- timemachine-var-cache-samba:/var/cache/samba
- timemachine-run-samba:/run/samba
ulimits:
nofile:
soft: 65536
hard: 65536
container_name: timemachine
image: mbentley/timemachine:smb
volumes:
timemachine-var-lib-samba:
timemachine-var-cache-samba:
timemachine-run-samba: