X-Git-Url: http://git.purplebirdman.com/public.git/blobdiff_plain/e0ecc22e5b165e932a76c5c2bb13b8c0da60cb39..0e07fad7633fc93fb0ce69cf0e14f8b0558e1d9f:/readme.md diff --git a/readme.md b/readme.md index 4547642..da878ae 100644 --- 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 ```