Skip to content

Commit

Permalink
composefile-smb: Added docker compose file for smb.
Browse files Browse the repository at this point in the history
  • Loading branch information
grizmin committed Feb 10, 2020
1 parent 4849763 commit ece61db
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 0 deletions.
30 changes: 30 additions & 0 deletions timemachine-compose-afp.yml
@@ -0,0 +1,30 @@
version: '3'
services:
timemachine:
network_mode: "host"
environment:
- CUSTOM_AFP_CONF=false
- LOG_LEVEL=info
- MIMIC_MODEL=TimeCapsule6,106
- TM_USERNAME=timemachine
- TM_GROUPNAME=timemachine
- TM_UID=1000
- TM_GID=1000
- PASSWORD=timemachine
- SET_PERMISSIONS=false
- SHARE_NAME=TimeMachine
- VOLUME_SIZE_LIMIT=0
restart: unless-stopped
ports:
- "548:548"
- "636:636"
volumes:
- /path/to/your/timemachine/volume:/opt/timemachine
- ./timemachine-netatalk:/var/netatalk
- ./timemachine-logs:/var/log/supervisor
ulimits:
nofile:
soft: 65536
hard: 65536
container_name: timemachine
image: mbentley/timemachine:latest
38 changes: 38 additions & 0 deletions timemachine-compose-smb.yml
@@ -0,0 +1,38 @@
version: "3.7"
services:
timemachine:
network_mode: "host"
environment:
- CUSTOM_SMB_CONF=false
- CUSTOM_USER=false
- LOG_LEVEL=info
- EXTERNAL_CONF=
- HIDE_SHARES=no
- MIMIC_MODEL=TimeCapsule8,119
- TM_USER=timemachine
- TM_GROUPNAME=timemachine
- TM_UID=1000
- TM_GID=1000
- PASSWORD=timemachine
- SET_PERMISSIONS=false
- SHARE_NAME=TimeMachine
- VOLUME_SIZE_LIMIT=0
- WORKGROUP=WORKGROUP
restart: unless-stopped
ports:
- "548:548"
- "636:636"
volumes:
- /path/to/your/timemachine/volume:/opt/timemachine
- ./timemachine-var-log:/var/log
- ./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

0 comments on commit ece61db

Please sign in to comment.