This commit is contained in:
@@ -24,6 +24,20 @@ qbittorrent:
|
|||||||
- |
|
- |
|
||||||
sysctl -w net.ipv4.ip_forward=1;
|
sysctl -w net.ipv4.ip_forward=1;
|
||||||
sysctl -w net.ipv6.conf.all.disable_ipv6=1
|
sysctl -w net.ipv6.conf.all.disable_ipv6=1
|
||||||
|
init-copy-config:
|
||||||
|
image:
|
||||||
|
repository: busybox
|
||||||
|
tag: 1.37.0
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 128Mi
|
||||||
|
command:
|
||||||
|
- /bin/sh
|
||||||
|
- -ec
|
||||||
|
- |
|
||||||
|
cp /config/config.yml /app/config/config.yml
|
||||||
containers:
|
containers:
|
||||||
qbittorrent:
|
qbittorrent:
|
||||||
image:
|
image:
|
||||||
@@ -189,6 +203,9 @@ qbittorrent:
|
|||||||
retain: true
|
retain: true
|
||||||
advancedMounts:
|
advancedMounts:
|
||||||
main:
|
main:
|
||||||
|
init-copy-config:
|
||||||
|
- path: /app/config
|
||||||
|
readOnly: false
|
||||||
qbit-manage:
|
qbit-manage:
|
||||||
- path: /app/config
|
- path: /app/config
|
||||||
readOnly: false
|
readOnly: false
|
||||||
@@ -198,8 +215,13 @@ qbittorrent:
|
|||||||
name: qbit-manage-config
|
name: qbit-manage-config
|
||||||
advancedMounts:
|
advancedMounts:
|
||||||
main:
|
main:
|
||||||
|
init-copy-config:
|
||||||
|
- path: /config/config.yml
|
||||||
|
readOnly: true
|
||||||
|
mountPropagation: None
|
||||||
|
subPath: config.yml
|
||||||
qbit-manage:
|
qbit-manage:
|
||||||
- path: /app/config/config.yml
|
- path: /config/config.yml
|
||||||
readOnly: true
|
readOnly: true
|
||||||
mountPropagation: None
|
mountPropagation: None
|
||||||
subPath: config.yml
|
subPath: config.yml
|
||||||
|
Reference in New Issue
Block a user