forked from cmaxwe/dl-nhltv
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDocker-compose.example
More file actions
36 lines (32 loc) · 823 Bytes
/
Docker-compose.example
File metadata and controls
36 lines (32 loc) · 823 Bytes
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
version: '3.6'
services:
dl-nhltv:
image: yourimageregistry/dl-nhltv:latest
environment:
- TZ=YOURCONTINENT/YOURCITY
- PYTHONUNBUFFERED=1
command: nhltv -u YOURNHLACCOUNT -p 'YOURNHLPASSWORD' -i 43200 -d /mediafiles -k 30 -t NYI -t LAK -t STL -t SJS
networks:
- dl-nhltv
volumes:
- plex_data:/mediafiles:Z
- dl-nhltv_workdir:/home/dl-nhltv:Z
deploy:
mode: replicated
replicas: 1
resources:
limits:
cpus: '3.00'
placement:
constraints: [node.hostname == YOURHOSTNAME]
volumes:
plex_data:
driver: local-persist
driver_opts:
mountpoint: /docker/data/plex/data/media
dl-nhltv_workdir:
driver: local-persist
driver_opts:
mountpoint: /docker/data/plex/data/dl-nhltv
networks:
dl-nhltv: