fix(nfs): config.yaml to json
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
ARG BUILD_FROM
|
ARG BUILD_FROM
|
||||||
FROM $BUILD_FROM
|
FROM $BUILD_FROM
|
||||||
RUN apk add --no-cache nfs-utils
|
RUN apk add --no-cache nfs-utils bash
|
||||||
COPY run.sh /
|
COPY run.sh /
|
||||||
RUN chmod +x /run.sh
|
RUN chmod +x /run.sh
|
||||||
CMD ["/run.sh"]
|
CMD ["/run.sh"]
|
||||||
34
nfs/config.json
Normal file
34
nfs/config.json
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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
BIN
nfs/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 303 KiB |
BIN
nfs/logo.png
Normal file
BIN
nfs/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 303 KiB |
Reference in New Issue
Block a user