Browse Source

update/fix

Jan Behrens 4 years ago
parent
commit
cff22946a7
2 changed files with 22 additions and 1 deletions
  1. 21 0
      README.md
  2. 1 1
      config/docker-entrypoint.sh

+ 21 - 0
README.md

@@ -0,0 +1,21 @@
+SDS status monitor
+==================
+
+* Runs on Apache + PHP
+* Website served by Apache process
+* Data is polled in background at regular intervals
+* Needs write access to www directory for caching
+
+Docker
+------
+
+Setup builds on Ubuntu 18.04 (bionic) and starts server + polling process.
+
+Build & run locally:
+```
+docker build -t sds-status-monitor .
+docker run -p 8001:80 sds-status-monitor
+```
+
+Runtime arguments:
+* `POLL_INTERVAL` - polling interval for background process (default: 60 seconds)

+ 1 - 1
config/docker-entrypoint.sh

@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 #/usr/bin/id