Skip to content
/ web Public

Containerized nginx for serving feed files over SSL

License

Notifications You must be signed in to change notification settings

sitch-io/web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sitch front-facing web server

Serves up feed files from a shared volume

You just need to start it with 443 and 8443 exposed, and the SERVER_NAME and KIBANA_URL env vars set. SERVER_NAME is the FQDN of your certificate. KIBANA_URL is the URL of your Kibana instance. The feed is going to be served on 443, Chronograf on 1000, and Kibana on 8443. Consider making 1000 and 8443 available only over VPN. Also, you'll need to mount up your letsencrypt dir. And the content you're serving. Do the thing like this:

    docker run -d \
    -p 443:443 \
    -p 8443:8443 \
    -p 1000:1000 \
    -e SERVER_NAME=$SERVER_NAME \
    -e KIBANA_URL=$KIBANA_URL \
    -e CHRONOGRAF_URL=$CHRONOGRAF_URL \
    -v /etc/letsencrypt:/letsencrypt \
    -v /opt/shared/feed/production/:/usr/share/nginx/html/ \
    docker.io/sitch/web

About

Containerized nginx for serving feed files over SSL

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages