Commit Graph

33 Commits

Author SHA1 Message Date
Basti 2a5d68cda9
Update Sockethub to 4.1.0
Tested/running on `nodejs-2`.
2021-09-03 10:28:07 +02:00
Greg b5e7e4ab85 Use DNS validation to generate/renew the TLS cert 2021-07-14 10:13:35 +02:00
Greg d135b3873c Switch to a systemd unit Chef resource 2021-07-09 11:32:33 +02:00
Greg e9c86081f7 Update sockethub to the latest npm release 2021-07-09 11:32:11 +02:00
Greg b8ac5e1c07 Merge branch 'master' into feature/145-sockethub_from_npm 2021-07-09 10:51:02 +02:00
Greg e6b7794e20 Extract firewall definitions to their own recipe
This allows us to use them for KVM hosts as well. Until now we had set
up ufw rules manually on the two KVM hosts (draco and centaurus)

Refs #244
2020-12-04 16:27:42 +01:00
Greg 43736cd8e9 Move the debug logs env variable to an attribute
Set it to 'sockethub*' for now as Nick advised, see
#91
2020-03-25 17:51:28 +01:00
Greg 29a5947d18 Deploy Sockethub from the npm package
This is currently 3.1.4 and is set as an attribute. The recipe is very
simple now, it installs the npm package, and the systemd service runs
/usr/bin/sockethub and sets the environment variables

Closes #145
2020-03-25 12:43:39 +01:00
Greg 57d0885d26 Change the licenses of hte kosmos cookbooks to MIT 2019-04-12 11:41:20 +02:00
Greg e0aa4c5b11 Move the firewall rule for sockethub to its own recipe 2019-04-10 16:33:56 +02:00
Greg ca118ca8f8 Use the second Redis database for sockethub 2019-04-09 11:39:35 +02:00
Greg aa60d19743 Update sockethub to the latest tag
2.0.5 wasn't compatible with Node 10
2019-04-08 12:31:10 +02:00
Greg 17f1b2a20a Create a nginx_certbot_site resource to remove duplication
It creates a folder, the nginx vhost for certbot and HTTP redirects, and
also runs certbot and recreates the nginx vhost that includes the TLS
cert
2019-03-15 19:03:28 +01:00
Greg 36e046ea73 Run certbot using the binary provided by the Ubuntu PPA 2019-03-14 10:52:44 +01:00
Greg c3933012dd We install nodejs from package, update paths 2018-04-17 13:19:23 +02:00
Basti 5d34292728 Move sockethub rev to attribute, update version 2017-06-24 13:20:57 -07:00
Greg 5385813eda Merge branch 'master' into feature/ubuntu-16.04 2017-06-09 16:36:19 +02:00
Greg 4fdf64dfbd Remove duplicate kosmos-nginx recipe directive 2017-05-08 16:47:58 +02:00
Greg eaaaacf97f Remove placeholder text from generated Chef cookbooks 2017-05-08 12:07:32 +02:00
Greg 2f0ff1f559 Fixed code styling 2017-04-28 15:45:59 +02:00
Greg d6cc8509bc Don't run the Let's Encrypt set up in development 2017-04-28 12:01:17 +02:00
Greg c9879a60e2 Run sockethub as its own user 2017-04-28 12:01:07 +02:00
Greg 6bea5b7567 Enable HTTP2 and HSTS 2017-04-07 18:20:43 +02:00
Greg de11c0d691 Set up an instance of Mastodon for Kosmos
Refs #19

Use new application cookbook, update our cookbooks
2017-04-06 21:20:51 +02:00
Greg 555195c32f Don't use Let's Encrypt in development environment 2017-03-31 19:21:48 +02:00
Greg 3f15330b00 Clean up the sockethub nginx config 2017-03-19 20:05:28 +00:00
Greg 9436284be2 Use the latest certbot instead of the old letsencrypt 2017-03-19 20:05:09 +00:00
Basti e95bda621e Remove additional CORS header for Sockethub
This would add a second value in addition to the one Sockethub sets
itself, which then broke the client.
2017-01-20 15:09:18 +08:00
Greg 0143edadf5 Deploy sockethub's master branch 2016-10-25 15:43:43 +02:00
Greg 1bb9a44ac4 Add README to sockethub cookbook 2016-07-08 16:04:12 +02:00
Greg 0aaf3f3b55 Initial Let's Encrypt setup for Kosmos subdomains
Refs #6
2016-05-06 16:41:50 +02:00
Greg 255ff036c3 Update firewall_rule resource
Updated cookbook
2016-02-19 18:11:43 +01:00
Greg ee4079fa85 Initial Chef repository 2015-07-21 19:45:23 +02:00