X-Git-Url: http://git.purplebirdman.com/public.git/blobdiff_plain/e0ecc22e5b165e932a76c5c2bb13b8c0da60cb39..78944fffed51306762c335cbd7c6e16170dad9e3:/readme.md diff --git a/readme.md b/readme.md index 4547642..f8fb6dc 100644 --- a/readme.md +++ b/readme.md @@ -7,7 +7,17 @@ A stupid and easy way to publicize my stuff. like dropbox but safer. docker stack deploy -c <(docker-compose config) public ``` -### creating a public directory by filename regex +### reaching the services + +Must authorize self through ```$hostname```/lua/publish.lua and set up valid users on first deployment + ``` -docker exec -it 581d24de85e5 /root/public simplify +htpasswd -c passwords $username ``` + +## todo + +* clean up temporary public directories + ``` + 0 * * * * find /var/www/html/public/* -depth -mtime +7 -delete + ```