From 7663619bafbb1a7327e34698534b42b5cb9417e6 Mon Sep 17 00:00:00 2001 From: Florian Eitel Date: Fri, 4 Oct 2019 21:49:51 +0200 Subject: [PATCH] Add Dockerfile and update README.md --- Dockerfile | 3 +++ README.md | 18 +++++++++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4ea4b57 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM jacobalberty/unifi + +HEALTHCHECK NONE diff --git a/README.md b/README.md index 043a56a..314defd 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,18 @@ # unifi-docker -fork of https://github.com/jacobalberty/unifi-docker without health check + +Fork of https://github.com/jacobalberty/unifi-docker without health check + +The HEALTHCHECK causes docker to write to disk every 30 seconds which prevents disk hibernation on NAS. + +Example log in file `config.v2.json`: + + "Health": { + "Status": "healthy", + "FailingStreak": 0, + "Log": [ + { + "Start": "2019-10-04T16:42:07.855025309+02:00", + "End": "2019-10-04T16:42:08.036342122+02:00", + "ExitCode": 0, + "Output": "HTTP/1.1 302 \r\nLocation: /manage\r\nTransfer-Encoding: chunked\r\nDate: Fri, 04 Oct 2019 14:42:07 GMT\r\n\r\nHTTP/1.1 302 \r\nLocation: /manage/account/login?redirect=%2Fmanage\r\nTransfer-Encoding: chunked\r\nDate: Fri, 04 Oct 2019 14:42:07 GMT\r\n\r\nHTTP/1.1 200 \r\nX-Frame-Options: SAMEORIGIN\r\nvary: accept-encoding\r\nAccept-Ranges: bytes\r\nLast-Modified: Tue, 17 Sep 2019 21:45:08 GMT\r\nCache-Control: max-age=0\r\nExpires: Fri, 04 Oct 2019 14:42:07 GMT\r\nContent-Type: text/html;charset=ISO-8859-1\r\nContent-Length: 12957\r\nDate: Fri, 04 Oct 2019 14:42:07 GMT\r\n\r\n" + },