umbrel-apps/back-that-mac-up/docker-compose.yml
2024-03-14 01:00:02 -07:00

53 lines
1.6 KiB
YAML

version: "3.7"
services:
app_proxy:
environment:
APP_HOST: back-that-mac-up_server_1
APP_PORT: 80
server:
image: getumbrel/umbrel-back-that-mac-up:1.0.1@sha256:d9561eebd791fcaaddb9885b9ace25dec42374c4ab0fe17035493a264081688c
restart: on-failure
environment:
TIME_MACHINE_DIR: "/timemachine"
volumes:
# this is the entire back-that-mac-up data dir (could consider only mounting opt-timemachine subdir instead)
- ${APP_DATA_DIR}/data:/timemachine
timemachine:
image: mbentley/timemachine:smb-20231122@sha256:861560184a5c9f3b4f2a8bef4549ef4168d80c57a9de81b16bc5e6eead24ff3f
hostname: umbrel
environment:
ADVERTISED_HOSTNAME: "umbrel"
CUSTOM_SMB_CONF: "false"
CUSTOM_USER: "false"
DEBUG_LEVEL: "1"
HIDE_SHARES: "no"
EXTERNAL_CONF: ""
MIMIC_MODEL: "TimeCapsule8,119"
TM_USERNAME: "timemachine"
TM_GROUPNAME: "timemachine"
TM_UID: "1000"
TM_GID: "1000"
PASSWORD: "timemachine"
SET_PERMISSIONS: "false"
SHARE_NAME: "Umbrel - Time Machine"
SMB_INHERIT_PERMISSIONS: "no"
SMB_NFS_ACES: "no"
SMB_METADATA: "stream"
SMB_PORT: "445"
SMB_VFS_OBJECTS: "acl_xattr fruit streams_xattr"
VOLUME_SIZE_LIMIT: "0"
WORKGROUP: "WORKGROUP"
restart: unless-stopped
ports:
- "137:137/udp"
- "138:138/udp"
- "139:139"
- "445:445"
volumes:
- ${APP_DATA_DIR}/data/opt-timemachine:/opt/timemachine
- ${APP_DATA_DIR}/data/var-lib-samba:/var/lib/samba
- ${APP_DATA_DIR}/data/var-cache-samba:/var/cache/samba
- ${APP_DATA_DIR}/data/run-samba:/run/samba