blob: 279258e2069e5ce59a74ba2f28cfdfa2b63d6b74 [file] [log] [blame]
Giorgi Lekveishvilie009a5d2024-01-05 14:10:11 +04001input: {
gio9bd87ca2025-04-20 08:05:34 +04002 network: #Network @name(Network)
3 subdomain: string @name(Subdomain)
Giorgi Lekveishvilie009a5d2024-01-05 14:10:11 +04004}
5
6_domain: "\(input.subdomain).\(input.network.domain)"
gio9bd87ca2025-04-20 08:05:34 +04007url: "https://\(_domain)"
Giorgi Lekveishvilie009a5d2024-01-05 14:10:11 +04008
gio9bd87ca2025-04-20 08:05:34 +04009name: "qBitorrent"
10namespace: "app-qbittorrent"
11readme: "qbittorrent application will be installed on \(input.network.name) network and be accessible to any user on https://\(_domain)"
Giorgi Lekveishvilief21c132024-01-17 18:57:58 +040012description: "qBittorrent is a cross-platform free and open-source BitTorrent client written in native C++. It relies on Boost, Qt 6 toolkit and the libtorrent-rasterbar library, with an optional search engine written in Python."
gio9bd87ca2025-04-20 08:05:34 +040013icon: "<svg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 48 48'><circle cx='24' cy='24' r='21.5' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/><path fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' d='M26.651 22.364a5.034 5.034 0 0 1 5.035-5.035h0a5.034 5.034 0 0 1 5.034 5.035v3.272a5.034 5.034 0 0 1-5.034 5.035h0a5.034 5.034 0 0 1-5.035-5.035m0 5.035V10.533m-5.302 15.103a5.034 5.034 0 0 1-5.035 5.035h0a5.034 5.034 0 0 1-5.034-5.035v-3.272a5.034 5.034 0 0 1 5.034-5.035h0a5.034 5.034 0 0 1 5.035 5.035m0-5.035v20.138'/></svg>"
Giorgi Lekveishvilie009a5d2024-01-05 14:10:11 +040014
gio7fbd4ad2024-08-27 10:06:39 +040015out: {
16 images: {
17 qbittorrent: {
gio9bd87ca2025-04-20 08:05:34 +040018 registry: "lscr.io"
gio7fbd4ad2024-08-27 10:06:39 +040019 repository: "linuxserver"
gio9bd87ca2025-04-20 08:05:34 +040020 name: "qbittorrent"
21 tag: "4.5.3"
gio7fbd4ad2024-08-27 10:06:39 +040022 pullPolicy: "IfNotPresent"
23 }
Giorgi Lekveishvilie009a5d2024-01-05 14:10:11 +040024 }
Giorgi Lekveishvilie009a5d2024-01-05 14:10:11 +040025
gio7fbd4ad2024-08-27 10:06:39 +040026 charts: {
27 qbittorrent: {
gio9bd87ca2025-04-20 08:05:34 +040028 kind: "GitRepository"
gio7fbd4ad2024-08-27 10:06:39 +040029 address: "https://code.v1.dodo.cloud/helm-charts"
gio9bd87ca2025-04-20 08:05:34 +040030 branch: "main"
31 path: "charts/qbittorrent"
gio7fbd4ad2024-08-27 10:06:39 +040032 }
Giorgi Lekveishvilie009a5d2024-01-05 14:10:11 +040033 }
Giorgi Lekveishvilie009a5d2024-01-05 14:10:11 +040034
gio7fbd4ad2024-08-27 10:06:39 +040035 helm: {
36 qbittorrent: {
37 chart: charts.qbittorrent
38 values: {
39 pcloudInstanceId: global.id
40 ingress: {
41 className: input.network.ingressClass
gio9bd87ca2025-04-20 08:05:34 +040042 domain: _domain
gio7fbd4ad2024-08-27 10:06:39 +040043 }
gio9bd87ca2025-04-20 08:05:34 +040044 webui: port: 8080
gio7fbd4ad2024-08-27 10:06:39 +040045 bittorrent: port: 6881
gio9bd87ca2025-04-20 08:05:34 +040046 storage: size: "100Gi"
gio7fbd4ad2024-08-27 10:06:39 +040047 image: {
48 repository: images.qbittorrent.fullName
gio9bd87ca2025-04-20 08:05:34 +040049 tag: images.qbittorrent.tag
gio7fbd4ad2024-08-27 10:06:39 +040050 pullPolicy: images.qbittorrent.pullPolicy
51 }
Giorgi Lekveishvilie009a5d2024-01-05 14:10:11 +040052 }
53 }
54 }
55}