diff --git a/README.md b/README.md index c737b85..c451053 100644 --- a/README.md +++ b/README.md @@ -66,10 +66,10 @@ $ cat < database.local.json } EOF $ cat < .env -MODE="development" +MODE="production" HOST=":4000" ADMIN_PASSWORD="secret" MONITOR_SCRIPTS_DIR="./scripts" -MONITOR_CACHE_TIMEOUT="5s", time.ParseDuration +MONITOR_CACHE_TIMEOUT="10s" EOF ``` diff --git a/deploy b/deploy index cec80a0..51a6a8f 100755 --- a/deploy +++ b/deploy @@ -25,5 +25,6 @@ docker run -d \ -v /:/mnt/space:ro \ -v /data-home:/mnt/data-home:ro \ -v "$(pwd)/buckets.local:/buckets" \ + -v "$(pwd)/.env:/app/.env" \ -v "$(pwd)/database.local.json:/app/database.local.json" \ "$IMAGE_NAME"