Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

composefile-smb: Added docker compose file for smb. #26

Merged
merged 3 commits into from Apr 14, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
grizmin marked this conversation as resolved.
Show resolved Hide resolved
- ./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"
grizmin marked this conversation as resolved.
Show resolved Hide resolved
- "636:636"
volumes:
- /path/to/your/timemachine/volume:/opt/timemachine
- ./timemachine-var-log:/var/log
grizmin marked this conversation as resolved.
Show resolved Hide resolved
- ./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