owntracks / docker-recorder

Docker image for OwnTracks Recorder
151 stars 68 forks source link

Re-instate HEALTHCHECK #24

Closed jpmens closed 5 years ago

jpmens commented 5 years ago

I note HEALTHCHECK is missing (@juzam will be displeased :-)

jpmens commented 5 years ago
            "Health": {
                "Status": "healthy",
                "FailingStreak": 0,
                "Log": [
                    {
                        "Start": "2019-01-09T18:32:31.817550807Z",
                        "End": "2019-01-09T18:32:31.936912918Z",
                        "ExitCode": 0,
                        "Output": "/usr/local/sbin/recorder-health.sh: line 20: curl: not found\n/usr/local/sbin/recorder-health.sh: line 24: curl: not found\nenv: can't execute 'python': No such file or directory\nsh: -ne: argument expected\nOK\n"
                    }
                ]
            }
jpmens commented 5 years ago
            "Health": {
                "Status": "healthy",
                "FailingStreak": 0,
                "Log": [
                    {
                        "Start": "2019-01-09T18:53:09.647619458Z",
                        "End": "2019-01-09T18:53:09.795074081Z",
                        "ExitCode": 0,
                        "Output": "OK\n"
                    },
                    {
                        "Start": "2019-01-09T18:53:39.789121373Z",
                        "End": "2019-01-09T18:53:39.939850432Z",
                        "ExitCode": 0,
                        "Output": "OK\n"
                    }
                ]
            }
        },