소스 검색

update/fix

Jan Behrens 4 년 전
부모
커밋
cff22946a7
2개의 변경된 파일22개의 추가작업 그리고 1개의 파일을 삭제
  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