]> Untitled Git - public.git/blobdiff - readme.md
Updated readme to use prod compose file
[public.git] / readme.md
index 4547642a63372783d812a854a2e7080ce3cd5423..da878aeeddae9ecd5bc46d0458208a6f384a46a5 100644 (file)
--- a/readme.md
+++ b/readme.md
@@ -4,10 +4,14 @@ A stupid and easy way to publicize my stuff. like dropbox but safer.
 
 ### starting the stack on docker swarm
 ```
-docker stack deploy -c <(docker-compose config) public
+docker stack deploy -c <(docker-compose -f docker-compose-prod.yml 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. Right now you gotta ```docker exec -it``` the container to do that.
+
+
 ```
-docker exec -it 581d24de85e5 /root/public simplify
+htpasswd -c ${HTTPD_PREFIX}/auth/passwords $username
 ```