This PR contains the following updates: | Package | Update | Change | |---|---|---| | [slskd/slskd](https://slskd.org) ([source](https://github.com/slskd/slskd)) | minor | `0.22.5` -> `0.23.1` | --- ### Release Notes <details> <summary>slskd/slskd (slskd/slskd)</summary> ### [`v0.23.1`](https://github.com/slskd/slskd/releases/tag/0.23.1) [Compare Source](https://github.com/slskd/slskd/compare/0.23.0...0.23.1) #### What's Changed - Fix regression in scripts and webhooks causing json to be missing detail by [@​jpdillingham](https://github.com/jpdillingham) in https://github.com/slskd/slskd/pull/1389 **Full Changelog**: https://github.com/slskd/slskd/compare/0.23.0...0.23.1 ### [`v0.23.0`](https://github.com/slskd/slskd/releases/tag/0.23.0) [Compare Source](https://github.com/slskd/slskd/compare/0.22.5...0.23.0) ### 🎉 Database Migrations (that preserve data!) This release introduces a new system that performs database migrations on existing data ([#​1343](https://github.com/slskd/slskd/issues/1343)), which was necessary to migrate the Transfers database to correct an out of memory issue at startup for users with a large number of transfer records (see [#​1291](https://github.com/slskd/slskd/issues/1291)). Upon first start after upgrading to 0.23.0 the application will apply the initial migration to the Transfers database (`transfers.db`), if there is one. Depending on the system and the amount of data present, this may take a while, and the UI will be inaccessible during the process. Backups of existing databases are taken prior to the start of the process (you can find them in `/data/backups`) and they aren't deleted automatically, so **your historical data is safe**. A feature to add auto deletion after a period of time will come later. In the unlikely event that the process fails to complete successfully, follow the directions in the new [migration docs](https://github.com/slskd/slskd/blob/master/docs/migrations.md), which explain what to do if something goes wrong, and how to get the application back to a working state if the migration can't be completed. If you find that your database can't be migrated successfully, please file an issue and I can work on providing a standalone migration tool. #### What's Changed - Add a system to perform database migrations by [@​jpdillingham](https://github.com/jpdillingham) in https://github.com/slskd/slskd/pull/1343 - Fix remaining transfter State queries using HasFlag() by [@​jpdillingham](https://github.com/jpdillingham) in https://github.com/slskd/slskd/pull/1356 - Extend health check startup to 60 minutes, set $SHELL for docker container, and bump the GC memory limit from 500MiB to 2GiB by [@​jpdillingham](https://github.com/jpdillingham) in https://github.com/slskd/slskd/pull/1359 - Bump Soulseek.NET to 7.1.0 by [@​jpdillingham](https://github.com/jpdillingham) in https://github.com/slskd/slskd/pull/1363 - Update documentation for scripts by [@​jpdillingham](https://github.com/jpdillingham) in https://github.com/slskd/slskd/pull/1384 - Bump http-proxy-middleware from 2.0.6 to 2.0.9 in /src/web by [@​dependabot](https://github.com/dependabot) in https://github.com/slskd/slskd/pull/1329 **Full Changelog**: https://github.com/slskd/slskd/compare/0.22.5...0.23.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xLjMiLCJ1cGRhdGVkSW5WZXIiOiI0MS4xLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImltYWdlIl19--> Reviewed-on: https://gitea.alexlebens.dev/alexlebens/infrastructure/pulls/860 Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net> Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net>
		
			
				
	
	
		
			154 lines
		
	
	
		
			4.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			154 lines
		
	
	
		
			4.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
slskd:
 | 
						|
  controllers:
 | 
						|
    main:
 | 
						|
      type: deployment
 | 
						|
      replicas: 1
 | 
						|
      strategy: Recreate
 | 
						|
      revisionHistoryLimit: 3
 | 
						|
      initContainers:
 | 
						|
        init-sysctl:
 | 
						|
          image:
 | 
						|
            repository: busybox
 | 
						|
            tag: 1.37.0
 | 
						|
            pullPolicy: IfNotPresent
 | 
						|
          securityContext:
 | 
						|
            privileged: True
 | 
						|
          resources:
 | 
						|
            requests:
 | 
						|
              cpu: 10m
 | 
						|
              memory: 128Mi
 | 
						|
          command:
 | 
						|
            - /bin/sh
 | 
						|
          args:
 | 
						|
            - -ec
 | 
						|
            - |
 | 
						|
              sysctl -w net.ipv4.ip_forward=1;
 | 
						|
              sysctl -w net.ipv6.conf.all.disable_ipv6=1
 | 
						|
      containers:
 | 
						|
        main:
 | 
						|
          image:
 | 
						|
            repository: slskd/slskd
 | 
						|
            tag: 0.23.1
 | 
						|
            pullPolicy: IfNotPresent
 | 
						|
          env:
 | 
						|
            - name: TZ
 | 
						|
              value: US/Central
 | 
						|
            - name: PUID
 | 
						|
              value: 1000
 | 
						|
            - name: PGID
 | 
						|
              value: 1000
 | 
						|
            - name: SLSKD_UMASK
 | 
						|
              value: 000
 | 
						|
          resources:
 | 
						|
            requests:
 | 
						|
              cpu: 100m
 | 
						|
              memory: 512Mi
 | 
						|
        gluetun:
 | 
						|
          image:
 | 
						|
            repository: ghcr.io/qdm12/gluetun
 | 
						|
            tag: v3.40.0@sha256:2b42bfa046757145a5155acece417b65b4443c8033fb88661a8e9dcf7fda5a00
 | 
						|
            pullPolicy: IfNotPresent
 | 
						|
          env:
 | 
						|
            - name: VPN_SERVICE_PROVIDER
 | 
						|
              value: protonvpn
 | 
						|
            - name: VPN_TYPE
 | 
						|
              value: wireguard
 | 
						|
            - name: WIREGUARD_PRIVATE_KEY
 | 
						|
              valueFrom:
 | 
						|
                secretKeyRef:
 | 
						|
                  name: slskd-wireguard-conf
 | 
						|
                  key: private-key
 | 
						|
            - name: VPN_PORT_FORWARDING
 | 
						|
              value: "on"
 | 
						|
            - name: PORT_FORWARD_ONLY
 | 
						|
              value: "on"
 | 
						|
            - name: FIREWALL_OUTBOUND_SUBNETS
 | 
						|
              value: 192.168.1.0/24,10.244.0.0/16
 | 
						|
            - name: FIREWALL_INPUT_PORTS
 | 
						|
              value: 5030,50300
 | 
						|
            - name: DOT
 | 
						|
              value: "off"
 | 
						|
          securityContext:
 | 
						|
            privileged: true
 | 
						|
            capabilities:
 | 
						|
              add:
 | 
						|
                - NET_ADMIN
 | 
						|
                - SYS_MODULE
 | 
						|
          resources:
 | 
						|
            limits:
 | 
						|
              squat.ai/tun: "1"
 | 
						|
            requests:
 | 
						|
              squat.ai/tun: "1"
 | 
						|
              cpu: 10m
 | 
						|
              memory: 128Mi
 | 
						|
    soularr:
 | 
						|
      type: deployment
 | 
						|
      replicas: 1
 | 
						|
      strategy: Recreate
 | 
						|
      revisionHistoryLimit: 3
 | 
						|
      pod:
 | 
						|
        securityContext:
 | 
						|
          fsGroup: 1000
 | 
						|
          fsGroupChangePolicy: OnRootMismatch
 | 
						|
      containers:
 | 
						|
        main:
 | 
						|
          image:
 | 
						|
            repository: mrusse08/soularr
 | 
						|
            tag: latest@sha256:da225f2b1042865c7223b3ee3e6d53e496eecc24566f60e48ef239396f54898a
 | 
						|
            pullPolicy: IfNotPresent
 | 
						|
          env:
 | 
						|
            - name: TZ
 | 
						|
              value: US/Central
 | 
						|
            - name: PUID
 | 
						|
              value: 1000
 | 
						|
            - name: PGID
 | 
						|
              value: 1000
 | 
						|
            - name: SCRIPT_INTERVAL
 | 
						|
              value: 300
 | 
						|
          resources:
 | 
						|
            requests:
 | 
						|
              cpu: 10m
 | 
						|
              memory: 256Mi
 | 
						|
  service:
 | 
						|
    main:
 | 
						|
      controller: main
 | 
						|
      ports:
 | 
						|
        http:
 | 
						|
          port: 5030
 | 
						|
          targetPort: 5030
 | 
						|
          protocol: HTTP
 | 
						|
  persistence:
 | 
						|
    slskd-config:
 | 
						|
      enabled: true
 | 
						|
      type: secret
 | 
						|
      name: slskd-config-secret
 | 
						|
      advancedMounts:
 | 
						|
        main:
 | 
						|
          main:
 | 
						|
            - path: /app/slskd.yml
 | 
						|
              readOnly: true
 | 
						|
              mountPropagation: None
 | 
						|
              subPath: slskd.yml
 | 
						|
    soularr-config:
 | 
						|
      enabled: true
 | 
						|
      type: secret
 | 
						|
      name: soularr-config-secret
 | 
						|
      advancedMounts:
 | 
						|
        soularr:
 | 
						|
          main:
 | 
						|
            - path: /data/config.ini
 | 
						|
              readOnly: true
 | 
						|
              mountPropagation: None
 | 
						|
              subPath: config.ini
 | 
						|
    data:
 | 
						|
      existingClaim: slskd-nfs-storage
 | 
						|
      advancedMounts:
 | 
						|
        main:
 | 
						|
          main:
 | 
						|
            - path: /mnt/store
 | 
						|
              readOnly: false
 | 
						|
        soularr:
 | 
						|
          main:
 | 
						|
            - path: /mnt/store
 | 
						|
              readOnly: false
 |