-
Notifications
You must be signed in to change notification settings - Fork 0
/
torrent-deployment.json
43 lines (43 loc) · 1.16 KB
/
torrent-deployment.json
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
{
"apiVersion": "extensions/v1beta1",
"kind": "Deployment",
"metadata": {
"name": "torrent"
},
"spec": {
"replicas": 1,
"selector": {
"matchLabels": {
"app": "torrent"
}
},
"template": {
"metadata": {
"labels": {
"app": "torrent"
}
},
"spec": {
"containers": [
{
"name": "torrent",
"image": "sohrab/qbittorrent",
"ports": [
{
"containerPort": 8080
}
],
"env": [
{
"name": "PORT",
"value": "8080"
}
],
"command": ["/bin/bash", "-c"],
"args": ["cp /build/qBittorrent.conf ~/.config/qBittorrent/; qbittorrent-nox \"magnet:?xt=urn:btih:08ada5a7a6183aae1e09d831df6748d566095a10&dn=Sintel&tr=udp%3A%2F%2Fexplodie.org%3A6969&tr=udp%3A%2F%2Ftracker.coppersurfer.tk\""]
}
]
}
}
}
}