3 A stupid and easy way to publicize my stuff. like dropbox but safer.
5 ### starting the stack on docker swarm
7 docker stack deploy -c <(docker-compose config) public
10 ### reaching the services
12 Must authorize self through ```$hostname```/lua/publish.lua and set up valid users on first deployment
15 htpasswd -c passwords $username
20 * clean up temporary public directories
22 0 * * * * find /var/www/html/public/* -depth -mtime +7 -delete