Added timemachine
This commit is contained in:
@@ -0,0 +1,96 @@
|
||||
name: timemachine
|
||||
|
||||
services:
|
||||
timemachine:
|
||||
# Setting this will allow the Zima webui to display the field "REQUIRE MEMORY"
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
memory: 128M
|
||||
image: mbentley/timemachine:smb-20260329
|
||||
container_name: timemachine
|
||||
restart: unless-stopped
|
||||
|
||||
environment:
|
||||
TZ: Europe/Stockholm
|
||||
TM_USERNAME: timemachine
|
||||
TM_GROUPNAME: timemachine
|
||||
PASSWORD: CHANGE_ME
|
||||
TM_UID: "1000"
|
||||
TM_GID: "1000"
|
||||
SET_PERMISSIONS: "false"
|
||||
VOLUME_SIZE_LIMIT: "0"
|
||||
|
||||
ports:
|
||||
- target: 137
|
||||
published: "137"
|
||||
protocol: udp
|
||||
- target: 138
|
||||
published: "138"
|
||||
protocol: udp
|
||||
- target: 139
|
||||
published: "139"
|
||||
protocol: tcp
|
||||
- target: 445
|
||||
published: "445"
|
||||
protocol: tcp
|
||||
|
||||
tmpfs:
|
||||
- /run/samba
|
||||
|
||||
volumes:
|
||||
- type: bind
|
||||
source: /DATA/AppData/$AppID/backup
|
||||
target: /opt/timemachine
|
||||
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
|
||||
x-casaos:
|
||||
envs:
|
||||
- container: TZ
|
||||
description:
|
||||
en_us: Timezone, for example Europe/Stockholm
|
||||
- container: TM_USERNAME
|
||||
description:
|
||||
en_us: Time Machine username
|
||||
- container: PASSWORD
|
||||
description:
|
||||
en_us: Time Machine password
|
||||
- container: TM_UID
|
||||
description:
|
||||
en_us: User ID for filesystem permissions
|
||||
- container: TM_GID
|
||||
description:
|
||||
en_us: Group ID for filesystem permissions
|
||||
- container: VOLUME_SIZE_LIMIT
|
||||
description:
|
||||
en_us: Size limit in MB (0 means unlimited)
|
||||
ports:
|
||||
- container: "445"
|
||||
description:
|
||||
en_us: SMB service port for Time Machine backups
|
||||
volumes:
|
||||
- container: /opt/timemachine
|
||||
description:
|
||||
en_us: Time Machine backup data
|
||||
|
||||
x-casaos:
|
||||
architectures:
|
||||
- amd64
|
||||
- arm64
|
||||
main: timemachine
|
||||
category: phirna
|
||||
author: Joachim Friberg
|
||||
developer: Joachim Friberg
|
||||
icon: https://cdn.simpleicons.org/apple
|
||||
tagline:
|
||||
en_us: Network Time Machine target for macOS over SMB
|
||||
description:
|
||||
en_us: >-
|
||||
Runs a Samba-based Time Machine target for macOS backups.
|
||||
Uses explicit image pinning, scoped app data storage, and no-new-privileges.
|
||||
title:
|
||||
en_us: Time Machine
|
||||
index: /
|
||||
port_map: "445"
|
||||
Reference in New Issue
Block a user