-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy pathdocker-compose.sample.nfs.yaml
36 lines (34 loc) · 1.24 KB
/
docker-compose.sample.nfs.yaml
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
#############################################################################
## Services are now located in separate files, in the services directory. ##
#############################################################################
# Common network used by all services
networks:
default:
name: "traefik-network"
# Common volumes used by at least 2 services
volumes:
config:
driver: local-persist
driver_opts:
mountpoint: $HOST_CONFIG_PATH
torrents:
driver_opts:
type: nfs
# Add NFS_IP to your .env with the corresponding value
o: addr=$NFS_IP,nolock,soft,nfsvers=4
# Add NFS_MEDIA_VOLUME to your .env with the corresponding value
device: $NFS_MEDIA_VOLUME
downloads:
driver_opts:
type: nfs
# Add NFS_IP to your .env with the corresponding value
o: addr=$NFS_IP,nolock,soft,nfsvers=4
# Add NFS_MEDIA_VOLUME to your .env with the corresponding value
device: $NFS_MEDIA_VOLUME/$DOWNLOAD_SUBFOLDER
documents:
driver_opts:
type: nfs
# Add NFS_IP to your .env with the corresponding value
o: addr=$NFS_IP,nolock,soft,nfsvers=4
# Add NFS_MEDIA_VOLUME to your .env with the corresponding value
device: $NFS_MEDIA_VOLUME/$DOCUMENTS_SUBFOLDER