From ec99d6cbbf00051f3db16fa7fac7fb59c05e8fb6 Mon Sep 17 00:00:00 2001 From: Daniel Wolf Date: Tue, 1 Jan 2019 18:18:33 -0500 Subject: [PATCH] add variable defaults --- README.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 6fcbcdb..d70bb9d 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ This docker container manages the H5AI application, a lightweight web directory - ``{config}/ssl/live/{site}/``: SSL/TLS certificates - ``{media}/_h5ai/private/conf/options.json``: H5AI Configuration -**Remember to change the password** in the h5ai configuration as the info page might expose information about your server that you do not want exposed. +**Remember to change the password in the h5ai configuration as the info page might expose information about your server that you do not want exposed.** Just put files and folders into the volume mapped to `/mnt/media` and they will be made accessible through the web interface. For private files, you can either lock them down via the NGINX config (there's an example that will hide files under /local/) or use a container that is not publicly accessible in the first place. @@ -36,13 +36,17 @@ Certbot is included for requestung SSL certificates but you are better off just ## Variables -- **ADMINIP:** Administrative Access IP -- **DNSADDR:** Resolver IPs (Space-Delimited) -- **PUID:** Volume Owner UID -- **PGID:** Volume Owner GID -- **SSLEMAIL:** LetsEncrypt Email Address -- **SSLDOMAINS:** LetsEncrypt (Sub)domains (comma-delimited) -- **TZ:** Time Zone +- **PUID:** Owner UID (*1000*) +- **PGID:** Owner GID (*100*) +- **TZ:** Time Zone (*"America/New_York"*) + +- **DNSADDR:** Resolver IPs ("8.8.8.8 8.8.4.4") (IGNORED AFTER INITIAL RUN) (SPACE-DELIMITED) + +- **ADMINIP**: Administrator IP ("127.0.0.1") (IGNORED AFTER INITIAL RUN) +- **TRUSTSN:** Trusted Subnet ("192.168.0.0/16") (IGNORED AFTER INITIAL RUN) + +- **SSLEMAIL:** LetsEncrypt Email ("") +- **SSLDOMAINS:** LetsEncrypt Domains ("") (COMMA-DELIMITED) ## Mount Points