github dkorecko/PatchPanda v0.7.0

19 hours ago

Hey everyone!

This is a bit of a bigger update, but don't worry, none of the changes are breaking, so feel free to just update and not worry about it, but let me introduce some new features that require some additional configuration:

Homepage Widget

image

I have added an endpoint to make it possible to have a Homepage widget for PatchPanda.

Example usage:

- PatchPanda:
    container: patchpanda-app
    href: http://your-url:5091 # Change this based on your setup
    description: Compose updater and monitoring
    widget:
      type: customapi
      url: http://patchpanda-app:8080/api/info # You may need to change the hostname/port based on your setup
      refreshInterval: 600000 # 10 minutes
      mappings:
        - field: stackCount
          label: Stack count
          format: number
        - field: containerCount
          label: Container count
          format: number
        - field: toBeUpdatedContainersCount
          label: Containers with updates
          format: number

Docker in Windows support and other environment fixes

Some time was spent on making sure PatchPanda now works when running Docker on Windows! This also included an improvement to be able to better determine when a specific compose file is found right when parsing the container initially. To use with Windows, instead of the normal Linux mount, you can use this with your own paths:

- /c/Users/PC/testing-compose:/c/Users/PC/testing-compose:rw

Reminder that both sides must be the same and yes, this is the correct format, so if your compose files are under the C:\ drive, the volume bindings should start with /c/, so for D:\ it would be /d/ and so on. Relative paths are not supported.

Ollama integration

image

This release brings the ability to use your locally hosted AI, Ollama, to provide AI summaries of release notes as well as additional detection for whether the release contains breaking changes. This will work hand-in-hand with automatic updates in future releases. For now, here are the environment variables you need to set if you want to enable the Ollama integration:

- OLLAMA_URL=http://localhost:11434 # Ollama or compatible LLM API URL
- OLLAMA_MODEL=llama3 # model name to use from Ollama - you must have it downloaded already

Other small improvements

A bunch of those as well.

For an example of a complete compose file visit our Readme.

Hope you guys enjoy and let me know what you think! Also a reminder that you can join our Discord community :)

What's Changed

  • style: Hide update plan while updating by @dkorecko in #64
  • feat: Homepage integration and API info endpoint by @dkorecko in #67
  • feat: Support Docker running in Windows by @dkorecko in #68
  • fix: Remove remnant of multi-container app when there's only one container remaining by @dkorecko in #69
  • fix: Improvements to path detection to better support different ways of hosting by @dkorecko in #70
  • feat: Ollama integration by @dkorecko in #71

Full Changelog: v0.6.0...v0.7.0

Don't miss a new PatchPanda release

NewReleases is sending notifications on new releases.