]> Untitled Git - public.git/blob - readme.md
Replaced old perl publish with web-accessible publish
[public.git] / readme.md
1 ## public
2
3 A stupid and easy way to publicize my stuff. like dropbox but safer.
4
5 ### starting the stack on docker swarm
6 ```
7 docker stack deploy -c <(docker-compose config) public
8 ```
9
10 ### reaching the services
11
12 Must authorize self through ```$hostname```/lua/publish.lua and set up valid users on first deployment
13
14 ```
15 htpasswd -c passwords $username
16 ```
17
18 ## todo
19
20 * clean up temporary public directories
21     ```
22     0 * * * * find /var/www/html/public/* -depth -mtime +7 -delete
23     ```