X-Git-Url: http://git.purplebirdman.com/public.git/blobdiff_plain/f276084429f7fee87765e97d313af98d0dc9bbc6..HEAD:/readme.md diff --git a/readme.md b/readme.md index f8fb6dc..da878ae 100644 --- a/readme.md +++ b/readme.md @@ -4,20 +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 ``` ### reaching the services -Must authorize self through ```$hostname```/lua/publish.lua and set up valid users on first deployment +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. + ``` -htpasswd -c passwords $username +htpasswd -c ${HTTPD_PREFIX}/auth/passwords $username ``` - -## todo - -* clean up temporary public directories - ``` - 0 * * * * find /var/www/html/public/* -depth -mtime +7 -delete - ```