]> Untitled Git - public.git/blobdiff - readme.md
Replaced old perl publish with web-accessible publish
[public.git] / readme.md
index 4547642a63372783d812a854a2e7080ce3cd5423..f8fb6dcd4150b5ee0a7bdcf6290e38841142a032 100644 (file)
--- 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
+    ```