From a72186f1efdd8cc9dfbd20f862441511fff84e90 Mon Sep 17 00:00:00 2001 From: Mario Loria Date: Mon, 24 Oct 2016 13:53:55 -0400 Subject: [PATCH 1/2] set default storage type --- hastebin/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hastebin/Dockerfile b/hastebin/Dockerfile index 4a75908..015298b 100644 --- a/hastebin/Dockerfile +++ b/hastebin/Dockerfile @@ -16,4 +16,6 @@ RUN chmod 755 app.sh EXPOSE 7777 +ENV STORAGE_TYPE file + CMD [ "./app.sh" ] From dbf1c5b9a79f1a1938a0030d89626fe63222eefc Mon Sep 17 00:00:00 2001 From: Mario Loria Date: Mon, 24 Oct 2016 14:31:42 -0400 Subject: [PATCH 2/2] readme add --- hastebin/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hastebin/README.md b/hastebin/README.md index c13b659..ad00f65 100644 --- a/hastebin/README.md +++ b/hastebin/README.md @@ -11,6 +11,8 @@ See `app.sh` for variable names. ## Example use +> `STORAGE_TYPE` is set to `file` by default so you can quickly be up and running! + Writing pastes to a mounted local volume: ```