Browse Source

initial commit

master
root 6 months ago
commit
47095cacf5
  1. 1
      .gitignore
  2. 11
      README.md
  3. 18
      docker-compose.yaml

1
.gitignore

@ -0,0 +1 @@
content

11
README.md

@ -0,0 +1,11 @@
# 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.
## Restarting
Use docker-compose `docker-compose up -d`

18
docker-compose.yaml

@ -0,0 +1,18 @@
version: "3.9"
services:
web:
ports:
- 8002:80
environment:
VIRTUAL_PORT: 8002
VIRTUAL_HOST: files.cosi.clarkson.edu,files.cslabs.clarkson.edu
LETSENCRYPT_HOST: files.cosi.clarkson.edu,files.cslabs.clarkson.edu
image: nginx
volumes:
- ./content:/usr/share/nginx/html
networks:
default:
external:
name: nginx-proxy
Loading…
Cancel
Save