mirror of
https://github.com/unraid/api.git
synced 2025-12-31 13:39:52 -06:00
- **New Features** - Created a dynamic plugin system for the API to enable community augmentation of GraphQL, CLI, and Cron functionalities capabilities. - Included an example plugin under `packages/unraid-api-plugin-health` that adds a new graphql query for API health checks. - Added `rc.unraid-api` commands for backing up, restoring, and installing production dependencies, streamlining maintenance and deployment. - Improved dependency vendoring by bundling a versioned pnpm store (instead of `node_modules`). Versioning will allow users to add plugins to a specific api release without requiring an internet connection on subsequent reboots. - **Chores** - Upgraded build workflows and versioning processes to ensure more reliable artifact handling and production packaging.
22 lines
826 B
YAML
22 lines
826 B
YAML
services:
|
|
plugin-builder:
|
|
ports:
|
|
- 5858:5858
|
|
build: .
|
|
volumes:
|
|
- ./:/app
|
|
- /app/node_modules
|
|
- ../.git:/app/.git
|
|
- ./source:/app/source
|
|
- ./scripts:/app/scripts
|
|
- ../unraid-ui/dist-wc:/app/source/dynamix.unraid.net/usr/local/emhttp/plugins/dynamix.my.servers/unraid-components/uui
|
|
- ../web/.nuxt/nuxt-custom-elements/dist/unraid-components:/app/source/dynamix.unraid.net/usr/local/emhttp/plugins/dynamix.my.servers/unraid-components/nuxt
|
|
- ../api/deploy/pack/:/app/source/dynamix.unraid.net/usr/local/unraid-api
|
|
- ../api/deploy/packed-pnpm-store.txz:/app/packed-pnpm-store.txz
|
|
stdin_open: true # equivalent to -i
|
|
tty: true # equivalent to -t
|
|
environment:
|
|
- HOST_LAN_IP=${HOST_LAN_IP}
|
|
- CI=${CI:-false}
|
|
- TAG=${TAG}
|