diff --git a/nfs/Dockerfile b/nfs/Dockerfile index beb5974..d8765a9 100644 --- a/nfs/Dockerfile +++ b/nfs/Dockerfile @@ -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"] \ No newline at end of file diff --git a/nfs/config.json b/nfs/config.json new file mode 100644 index 0000000..342a501 --- /dev/null +++ b/nfs/config.json @@ -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" + } +} \ No newline at end of file diff --git a/nfs/config.yaml b/nfs/config.yaml deleted file mode 100644 index 12942c9..0000000 --- a/nfs/config.yaml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/nfs/icon.png b/nfs/icon.png new file mode 100644 index 0000000..970beb1 Binary files /dev/null and b/nfs/icon.png differ diff --git a/nfs/logo.png b/nfs/logo.png new file mode 100644 index 0000000..970beb1 Binary files /dev/null and b/nfs/logo.png differ