emfcamp / Website

The Electromagnetic Field web site
http://www.emfcamp.org
GNU Affero General Public License v3.0
41 stars 84 forks source link

Deployment scripts #573

Open marksteward opened 6 years ago

marksteward commented 6 years ago

For Gauss, emfcamp-test, badgeserver, wiki-archive, etc.

Also put wiki-archive somewhere.

marksteward commented 6 years ago

apt, runit, nginx, memcached, postgres (incl users), php-fpm, set sysstat cron to 1 minute

Can we run mediawiki on nginx?

marksteward commented 6 years ago

To help plan how to split the servers, we need something like the following roles:

Current role assignment:

gauss: web main, map lorentz: wiki, badge wiki, wiki archive, web staging (if we disable debug mode) unassigned: monitoring, orga wiki, web other

davidc commented 6 years ago

suggest:

gauss (web site only): web main lorentz (public web sites): web other, wiki, badge wiki, wiki archive, map (possibly split lorentz in two? wiki-stuff and non-wiki stuff) voigt (orga web sites): orga wiki, piratepad/equivalent faraday: puppet, monitoring

Or, we may want to separate ns1 and mail from the website but this may be easier done by moving the website as others are configured to slave off gauss - so a new vm for website only, then leave gauss doing mail and ns1.

We also need to audit the accounts on gauss etc and remove any no longer required. Going forward after that, add/remove accounts should be done via puppet.

russss commented 6 years ago

I am happy to keep map/mail/ns1 on the same host as www for the foreseeable future. They don't have a particularly significant performance/security impact.