From b9565295c1aa247a4a11cc216eb1fb8c7f246683 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Sat, 22 Apr 2017 23:54:57 +0200 Subject: [PATCH] update description --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1eba850..f9818eb 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,8 @@ Use `FROM %%BASE_IMAGE%%` inside your docker file. We use alpine linux 3.5 for a ENV VERSION %%VERSION%% ``` +You should use bash scripts for simple stuff inside docker to hold the image small. + ## Addon config ```json @@ -42,7 +44,7 @@ ENV VERSION %%VERSION%%    "list1": [      "str|int|float|bool|email|url" ], - "list2": [ + "list2": [      { "ble": "str|int|float|bool|email|url" } ]  }, @@ -52,5 +54,9 @@ ENV VERSION %%VERSION%% If you want to set a value to requered and need to be set from user before it start the addon, set it to null. +## SSL + +Default you can use `fullchain.pem` and `privkey.pem` from `/ssl` for you stuff. Your SSL addon should also create default this files. + ## 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. A other nice tool for write plugin is [Supervisor](http://supervisord.org/).