]> Untitled Git - public.git/blob - readme.md
Added shell script to call public inside the container
[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 ### creating a public directory by filename regex
11 ```
12 docker exec -it 581d24de85e5 /root/public simplify
13 ```
14
15 ## todo
16
17 * clean up temporary public directories
18     ```
19     0 * * * * find /var/www/html/public/* -depth -mtime +7 -delete
20     ```