From 062e4d06be0c7b1a214441fc8d5f71e0da3fad47 Mon Sep 17 00:00:00 2001 From: lingkai5wu Date: Sun, 16 Aug 2026 22:34:22 +0800 Subject: [PATCH] feat: add samba --- samba/compose.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 samba/compose.yaml diff --git a/samba/compose.yaml b/samba/compose.yaml new file mode 100644 index 0000000..35e9440 --- /dev/null +++ b/samba/compose.yaml @@ -0,0 +1,22 @@ +name: samba +services: + samba: + image: crazymax/samba:4.23.8 + container_name: samba + volumes: + - /srv/data/samba:/data + - /mnt/toshiba:/mnt/toshiba + environment: + TZ: Asia/Shanghai + SAMBA_LOG_LEVEL: "0" + ports: + - "192.168.10.101:445:445" + restart: always + deploy: + resources: + limits: + cpus: "1.0" + memory: 1G + reservations: + cpus: "0.2" + memory: 128M