fix(nfs): config.yaml to json

This commit is contained in:
2026-03-29 14:14:05 +02:00
parent 62ffa10761
commit ec36305a38
5 changed files with 35 additions and 17 deletions

View File

@@ -1,6 +1,6 @@
ARG BUILD_FROM
FROM $BUILD_FROM
RUN apk add --no-cache nfs-utils
RUN apk add --no-cache nfs-utils bash
COPY run.sh /
RUN chmod +x /run.sh
CMD ["/run.sh"]

34
nfs/config.json Normal file
View File

@@ -0,0 +1,34 @@
{
"name": "NFS Server",
"version": "1.0.1",
"slug": "nfs_server",
"description": "Expose Home Assistant media folder via NFS.",
"arch": [
"amd64",
"aarch64",
"armv7"
],
"startup": "services",
"boot": "auto",
"init": false,
"host_network": true,
"privileged": [
"SYS_ADMIN"
],
"apparmor": false,
"kernel_modules": true,
"map": [
"media:rw"
],
"options": {
"allowed_network": "192.168.1.0/24"
},
"schema": {
"allowed_network": "str"
},
"build_from": {
"amd64": "alpine:3.19",
"aarch64": "alpine:3.19",
"armv7": "alpine:3.19"
}
}

View File

@@ -1,16 +0,0 @@
name: NFS Server
version: "1.0.0"
slug: nfs_server
description: Expose Home Assistant media folder via NFS.
arch: [aarch64, amd64, armv7]
privileged: [SYS_ADMIN]
apparmor: false
host_network: true
kernel_modules: true
map:
- media:rw
ports: {}
build_from:
aarch64: ghcr.io/home-assistant/aarch64-base:latest
amd64: ghcr.io/home-assistant/amd64-base:latest
armv7: ghcr.io/home-assistant/armv7-base:latest

BIN
nfs/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 KiB

BIN
nfs/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 KiB