]> Untitled Git - public.git/blobdiff - readme.md
Updated to 1.3.0
[public.git] / readme.md
index 0c3b4fd5ab7a94cbe1e78d073cf4494127b6c332..5ed18fd6e741c855fdb398eb1f8bb776dcd95563 100644 (file)
--- a/readme.md
+++ b/readme.md
@@ -7,14 +7,11 @@ 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
-```
-docker exec -it 581d24de85e5 /root/public simplify
-```
+### reaching the services
+
+Must authorize self through ```$hostname```/lua/publish.lua and set up valid users on first deployment. Right now you gotta ```docker exec -it``` the container to do that.
 
-## todo
 
-* clean up temporary public directories
-    ```
-    0 * * * * find /var/www/html/public/* -depth -mtime +7 -delete
-    ```
+```
+htpasswd -c ${HTTPD_PREFIX}/auth/passwords $username
+```