From 9befa160b57f120a81f182c2c652abced6c73062 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Fri, 14 Apr 2017 01:12:13 +0200 Subject: [PATCH] Add addon smb_config --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e4b1e8d..46196d4 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,17 @@ Docker addons for HassIO ``` addon_name: + README.md Dockerfile config.json + run.sh ``` -Use `FROM %%BASE_IMAGE%%` inside your docker file. We use alpine linux 3.5 for addons. +Use `FROM %%BASE_IMAGE%%` inside your docker file. We use alpine linux 3.5 for addons. It need also a this line: + +```docker +ENV VERSION %%VERSION%% +``` ## Addon config @@ -37,4 +43,4 @@ Use `FROM %%BASE_IMAGE%%` inside your docker file. We use alpine linux 3.5 for a ``` ## Addon need to known -`/data` is a volume with a persistant store. `/data/options.json` have the user config inside. You can use `jq` inside shell script to parse this data. +`/data` is a volume with a persistant store. `/data/options.json` have the user config inside. You can use `jq` inside shell script to parse this data. A other nice tool for write plugin is [Supervisor](http://supervisord.org/).