open-consul/website
Kyle Havlovitz 1ffdf04bd7 Set MaxStale default to 10 years and add a stale counter (#2481)
Default MaxStale to 10 years and add a counter at `consul.dns.stale_queries` that tracks when an agent serves a query that's stale by at least 5 seconds. Previously, MaxStale defaulted to 5 seconds and DNS would become unavailable after a short period of time with no leader. This new default allows DNS requests to still be served in the event of a long outage.

Fixes #2460.
2016-11-08 14:45:12 -05:00
..
scripts Switch to Docker-based website build process (#2448) 2016-10-31 12:49:52 -07:00
source Set MaxStale default to 10 years and add a stale counter (#2481) 2016-11-08 14:45:12 -05:00
Gemfile Switch to Docker-based website build process (#2448) 2016-10-31 12:49:52 -07:00
Gemfile.lock Switch to Docker-based website build process (#2448) 2016-10-31 12:49:52 -07:00
LICENSE.md website: fix name in license 2014-04-17 11:31:12 -04:00
Makefile Switch to Docker-based website build process (#2448) 2016-10-31 12:49:52 -07:00
README.md Switch to Docker-based website build process (#2448) 2016-10-31 12:49:52 -07:00
config.rb Switch to Docker-based website build process (#2448) 2016-10-31 12:49:52 -07:00
config.ru Use Rack::Protection 2015-07-13 12:56:46 -04:00
packer.json Switch to Docker-based website build process (#2448) 2016-10-31 12:49:52 -07:00

README.md

Consul Website

This subdirectory contains the entire source for the Consul Website. This is a Middleman project, which builds a static site from these source files.

Contributions Welcome!

If you find a typo or you feel like you can improve the HTML, CSS, or JavaScript, we welcome contributions. Feel free to open issues or pull requests like any normal GitHub project, and we'll merge it in.

Running the Site Locally

To run the site locally, clone this repository and run:

$ make website

You must have Docker installed for this to work.

Alternatively, you can manually run the website like this:

$ bundle
$ bundle exec middleman server

Then open up http://localhost:4567.