-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
38 lines (34 loc) · 1.08 KB
/
docker-compose.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
version: '2.3'
services:
time-machine:
image: olfway/samba
build:
context: .
tty: true
init: true
hostname: time-machine
container_name: time-machine
ports:
- 445:445
volumes:
- ./etc:/app/etc
- ./scripts:/app/scripts
- ./storage:/app/storage
- /run/dbus:/run/dbus
environment:
- SAMBA_CONFIG_OVERWRITE=yes
- SAMBA_GLOBAL_LOG_LEVEL=1
- SAMBA_GLOBAL_MDNS_NAME=mdns
- SAMBA_GLOBAL_FRUIT:MODEL=MacPro
- SAMBA_GLOBAL_PASSDB_BACKEND=smbpasswd
- SAMBA_GLOBAL_SOCKET_OPTIONS=IPTOS_LOWDELAY TCP_NODELAY
- SAMBA_USER_BACKUP_NAME=backup
- SAMBA_USER_BACKUP_UID=0
- SAMBA_USER_BACKUP_PASSWORD=Backup1
- SAMBA_SHARE_TIMEMACHINE_NAME=TimeMachine
- SAMBA_SHARE_TIMEMACHINE_PATH=/app/storage
- SAMBA_SHARE_TIMEMACHINE_WRITEABLE=yes
- SAMBA_SHARE_TIMEMACHINE_ADMIN_USERS=backup
- SAMBA_SHARE_TIMEMACHINE_FRUIT_TIME_MACHINE=yes
- SAMBA_SHARE_TIMEMACHINE_FRUIT_TIME_MACHINE_MAX_SIZE=1T
- SAMBA_SHARE_TIMEMACHINE_VFS_OBJECTS=catia fruit streams_xattr