| Giorgi Lekveishvili | e009a5d | 2024-01-05 14:10:11 +0400 | [diff] [blame] | 1 | input: { |
| gio | 44f621b | 2024-04-29 09:44:38 +0400 | [diff] [blame^] | 2 | network: #Network @name(Network) |
| 3 | subdomain: string @name(Subdomain) |
| Giorgi Lekveishvili | e009a5d | 2024-01-05 14:10:11 +0400 | [diff] [blame] | 4 | } |
| 5 | |
| 6 | _domain: "\(input.subdomain).\(input.network.domain)" |
| 7 | |
| gio | 44f621b | 2024-04-29 09:44:38 +0400 | [diff] [blame^] | 8 | name: "qBitorrent" |
| Giorgi Lekveishvili | ef21c13 | 2024-01-17 18:57:58 +0400 | [diff] [blame] | 9 | namespace: "app-qbittorrent" |
| Giorgi Lekveishvili | e009a5d | 2024-01-05 14:10:11 +0400 | [diff] [blame] | 10 | readme: "qbittorrent application will be installed on \(input.network.name) network and be accessible to any user on https://\(_domain)" |
| Giorgi Lekveishvili | ef21c13 | 2024-01-17 18:57:58 +0400 | [diff] [blame] | 11 | description: "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." |
| 12 | icon: "<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 Lekveishvili | e009a5d | 2024-01-05 14:10:11 +0400 | [diff] [blame] | 13 | |
| 14 | images: { |
| 15 | qbittorrent: { |
| 16 | registry: "lscr.io" |
| 17 | repository: "linuxserver" |
| 18 | name: "qbittorrent" |
| 19 | tag: "4.5.3" |
| 20 | pullPolicy: "IfNotPresent" |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | charts: { |
| 25 | qbittorrent: { |
| 26 | chart: "charts/qbittorrent" |
| 27 | sourceRef: { |
| 28 | kind: "GitRepository" |
| 29 | name: "pcloud" |
| 30 | namespace: global.id |
| 31 | } |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | helm: { |
| 36 | qbittorrent: { |
| 37 | chart: charts.qbittorrent |
| 38 | values: { |
| 39 | pcloudInstanceId: global.id |
| 40 | ingress: { |
| 41 | className: input.network.ingressClass |
| 42 | domain: _domain |
| 43 | } |
| 44 | webui: port: 8080 |
| 45 | bittorrent: port: 6881 |
| 46 | storage: size: "100Gi" |
| 47 | image: { |
| 48 | repository: images.qbittorrent.fullName |
| 49 | tag: images.qbittorrent.tag |
| 50 | pullPolicy: images.qbittorrent.pullPolicy |
| 51 | } |
| 52 | } |
| 53 | } |
| 54 | } |