-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
82 lines (81 loc) · 2.01 KB
/
docker-compose.yml
File metadata and controls
82 lines (81 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
version: "3.5"
services:
nas:
build:
context: .
volumes:
- .:/mnt/test:ro
ports:
- 139:139
- 445:445
- 137:137
- 138:138
- 137:137/udp
- 138:138/udp
- 445:445/udp
- 8080:80
- "20:20"
- "21:21"
- 2042-2045:2042-2045
- "22:22"
- "443:443"
cap_add:
- CAP_SYS_ADMIN
environment:
TZ: Europe/Paris
CONFIG: >
{
"groups": [
{
"name": "family",
"id": 1100
}
],
"users": [
{
"name": "me",
"id": "1000",
"groups": ["family"],
"password": "myself"
},
{
"name": "spouse",
"id": "1002",
"groups": ["family"],
"password": "heshe"
},
{
"name": "anybody",
"id": "1003",
"password": null
}
],
"guestUser": "anybody",
"shares": [
{
"channels": ["smb", "webdav", "ftp", "sftp", "nfs"],
"name": "music",
"path": "/mnt/test",
"visible": true,
"uMasks": {
"allowedForFiles": "0660",
"allowedForDirs": "0770",
"forcedForFiles": "0660",
"forcedForDirs": "0770",
"recycleDir": "0770"
},
"recycle": true,
"permissions": [
{
"mode": "rw",
"users": ["me"],
"groups": ["family"]
},
{
"mode": "ro",
"guest": true
}
]
}
]
}