docker-compose file for files.cosi.clarkson.edu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

566 B

Files

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. 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/.

Crontab:

* * * * * rsync -av /mnt/files/ /opt/files/content/bacon

Start

docker-compose up -d