Browse Source

added rsync with bacon

master
root 6 months ago
parent
commit
c47b294607
  1. 13
      README.md

13
README.md

@ -4,8 +4,15 @@ A simple webserver to host static files using NGINX. Might be found to be useful
## Adding new files
In `content/` add your files & subdirectories as needed.
In `content/` add your files & subdirectories as needed. Note: `content/bacon/` is special since there is a cronjob that copies `/mnt/files` from bacon's NFS mount. So on any machine that mounts bacon just adding files to `/mnt/files` will become hosted under [https://files.cosi.clarkson.edu/bacon/](https://files.cosi.clarkson.edu/bacon/).
## Restarting
Crontab:
```
* * * * * rsync -av /mnt/files/ /opt/files/content/bacon
```
## Start
`docker-compose up -d`
Use docker-compose `docker-compose up -d`
Loading…
Cancel
Save