add variable defaults

This commit is contained in:
Daniel Wolf 2019-01-01 18:18:33 -05:00
parent 01a9d823cc
commit ec99d6cbbf
1 changed files with 12 additions and 8 deletions

View File

@ -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