]> Untitled Git - public.git/blob - readme.md
Updated to 1.3.0
[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. Right now you gotta ```docker exec -it``` the container to do that.
13
14
15 ```
16 htpasswd -c ${HTTPD_PREFIX}/auth/passwords $username
17 ```