Public | Automated Build

Last pushed: a year ago
Short Description
a simple nginx web app for accessing database backups
Full Description

Version 2 (or latest)


Force SSL and Basic auth

docker run -d -v /path/to/database/backups/dir:/backups -p 16996:443 mmeeoorroo/eh_backups_access

with custom cert/key files, you have to mount your dir, that contains 2 files: eh_backups_access.nginx.key and eh_backups_access.nginx.crt

docker run -d -v /path/to/ssl/dir:/etc/nginx/ssl -p 16996:443 mmeeoorroo/eh_backups_access

with custom basic auth credentials (using openssl passwd command).
Note that you should use single quote to set EH_CREDENTIAL env var because the generated password might
contain dollar sign $ and the terminal will understand it as the start of a variable, e.g. this password
string asdf$poiw$cxcv will be interpreted as: string asdf + value of $poiw var + value of $cxcv var

openssl passwd -apr1 #to generate password
docker run -d -e 'EH_CREDENTIAL=<username>:<encrypted password from above step>' -p 16996:443 mmeeoorroo/eh_backups_access

or custom both ssl and basic auth credential

openssl passwd -apr1 #to generate password
docker run -d -v /path/to/ssl/dir:/etc/nginx/ssl -e 'EH_CREDENTIAL=<username>:<encrypted password from above step>' -p 16996:443 mmeeoorroo/eh_backups_access

Version 1


Not support ssl

docker run -d -v /path/to/database/backups/dir:/backups -p 16996:80 mmeeoorroo/eh_backups_access:1
Docker Pull Command
Owner
mmeeoorroo