-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
52 lines (52 loc) · 1.64 KB
/
docker-compose.yml
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
version: '3'
services:
transmission:
image: linuxserver/transmission
hostname: MyTransmission
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
- USER=$TRANSMISSION_USER
- PASS=$TRANSMISSION_PASS
ports:
- '9091:9091'
- '51413:51413'
- '51413:51413/udp'
restart: unless-stopped
volumes:
- './data/transmission/config:/config'
- './data/transmission/watch:/watch'
- './data/downloads:/downloads'
afp-server:
image: cilix/netatalk
hostname: MyNetatalk
ports:
- '548:548'
restart: unless-stopped
volumes:
- './data/documents:/media/documents'
- './data/downloads:/media/downloads'
command:
- '-u'
- $AFP_ADMIN_USER;$AFP_ADMIN_PASS
- '-u'
- $AFP_GUEST_USER;$AFP_GUEST_PASS
- '-s'
- Documents;/media/documents;none;$AFP_ADMIN_USER;no;$AFP_ADMIN_USER;no
- '-s'
- Downloads;/media/downloads;$AFP_GUEST_USER;$AFP_ADMIN_USER;no;$AFP_ADMIN_USER,$AFP_GUEST_USER;no
samba-server:
build: ./samba
hostname: MySamba
environment:
- SMB_ADMIN_USER=$SMB_ADMIN_USER
- SMB_ADMIN_PASS=$SMB_ADMIN_PASS
- SMB_GUEST_USER=$SMB_GUEST_USER
- SMB_GUEST_PASS=$SMB_GUEST_PASS
ports:
- '445:445'
restart: unless-stopped
volumes:
- './data/documents:/media/documents'
- './data/downloads:/media/downloads'