Commit Graph
100 Commits
Author SHA1 Message Date
basti 09527e693b WIP bitcoind config 2020-08-16 16:14:15 +02:00
basti 47105b2a1c Initial version of bitcoin cookbook 2020-08-16 16:13:39 +02:00
basti 9a28a03265 Increase size limit for Gitea uploads/attachments
The default limit in nginx is only 1MB. This increases it to 20MB.

fixes #188
2020-08-05 15:53:13 +02:00
basti af0717a65b Fix comet icon on maintenance page
The data URI declares an SVG source, but this was actually a PNG. Hence
the failure in Chrome. This change turns it into an actual inline SVG
and uses UTF8 encoding instead of base64, because SVG is just text anyway.

fixes #61
2020-08-02 21:00:10 +02:00
basti b662c04183 Finish initial encfs cookbook and postgres adaptations 2020-06-08 17:01:24 +02:00
basti 379161eb1e Fix postgres installation
Also, do not start at boot anymore, in favor of path-based activation.
2020-06-07 12:47:06 +02:00
basti 353f2c13f1 Improve encfs cookbook
Fix some things, and prepare for path-based activation. Also, comment
the buggy initial dir creation and explain manual provisioning in README
for now.
2020-06-07 12:45:33 +02:00
basti 8918452fc5 Use latest postgresql fork 2020-06-07 12:40:39 +02:00
basti 501626de1f Add encfs to Vagrantfile 2020-06-07 12:30:00 +02:00
basti 4fe0e913f8 Use our own fork of the postgresql cookbook 2020-06-07 12:29:34 +02:00
basti bd99b76287 Use human-readable flag for encfs mount script
In case someone wants to see what it does without reading a manual in
the future.
2020-06-06 12:24:08 +02:00
basti 5fcb047505 Update Mastodon system dependencies
Needs new Ruby, and why not upgrade Yarn in the process. Running in
production.
2020-05-25 17:49:22 +02:00
basti f92b43e0f4 Configure Zoom meeting whitelist
So we only log contributions for actual Kosmos calls
2020-05-25 16:57:09 +02:00
basti 773aa3ddee Update node configs 2020-05-14 15:29:25 +02:00
basti 4448ec2173 Configure TURN properly
Was missing a couple of necessary properties, and is now using an
explicit port range for TURN, and opening those ports in UFW.
2020-05-02 14:07:14 +02:00
basti 0bcb2597e8 Update node info 2020-05-02 12:41:30 +02:00
basti ef2fa2da72 Configure STUN/TURN
Configures built-in STUN/TURN support, and adds the new service discovery
module for it.
2020-05-01 16:25:38 +02:00
basti 35a56aa221 Update version to 20.04 2020-05-01 14:55:13 +02:00
basti 73e87f8f45 Improve LDAP example command
We should not log passwords in bash history files. This change will
prompt the user for the password instead.
2020-04-19 13:01:39 +02:00
basti cc4c8fb903 Add hubot-kredits Zoom config 2020-04-16 17:52:28 +02:00
basti 5b86aca5e8 Update andromeda node info 2020-02-15 13:52:00 -05:00
basti 8d78d41af7 Use MIT as default cookbook license
And improve the author name, making it more consistent with the rest of
the repo.
2019-12-18 20:19:42 +01:00
basti 11c7019bfa Fix thumbnails not working for larger SVGs
See linked docs in code comments
2019-12-13 13:46:57 +01:00
basti 2358ed00db Fix wiki permissions 2019-12-13 13:41:48 +01:00
basti cbfb760787 Increase wiki file upload size limit 2019-12-13 13:41:48 +01:00
basti 2158e1d4bf Allow SVG file uploads 2019-12-13 13:41:48 +01:00
basti 678286d758 Enable wiki editor toolbar
Enables the formatting toolbar for the wiki editor.
2019-11-26 22:04:49 +01:00
basti 77508c62a9 Update barnard node config 2019-10-18 15:52:22 +02:00
basti f8af66a532 Add/fix akkounts credentials 2019-10-18 13:10:43 +02:00
basti c7d91f68f9 Fix Mastodon Web systemd service
Removes a legacy property from the config, which made the service fail
to start after having upgraded systemd on Andromeda.
2019-10-16 08:29:34 +02:00
basti 76c8120058 Set up XMPP/IRC integration for Sockethub rooms 2019-10-13 21:32:12 +02:00
basti 66782f1f05 Update installed Ruby version for Mastodon 3.x 2019-10-13 20:16:54 +02:00
basti b49b494d43 Update andromeda node file 2019-10-13 20:16:18 +02:00
basti 40eb94f091 Move Tor attributes to recipe files 2019-09-09 13:36:49 +02:00
basti 03b3b2de91 Add hidden service for ejabberd 2019-09-03 19:47:52 +02:00
basti 10b6f6370e Configure Mastodon to use its Tor hidden service 2019-09-02 14:39:25 +02:00
basti 3b1c7a0817 Fix more hash accessors
These aren't available as methods (anymore?).
2019-09-02 13:26:27 +02:00
basti 4d24e6a7cc Fix Tor repo key not working
For some reason it's not correct on the keyservers, so we import it
directly from the repo. Sketchy af.
2019-09-02 13:23:50 +02:00
basti c493602d1e Move tor-full to site cookbooks 2019-09-02 12:23:50 +02:00
basti 070a1d1889 Configure Kredits signup for hal8000_xmpp 2019-09-01 17:15:56 +02:00
basti 0d20cddbf5 Prep cookbooks for Tor hidden services for Mastodon 2019-08-31 15:37:50 +02:00
basti c50c68b50c Configure hubot/wormhole deployment
Adding another node.js hubot app. Wormhole is our new IRC/XMPP bridge.
2019-07-30 09:09:19 +02:00
basti f4990a8066 Switch from IPFS cluster to kredits-ipfs-pinner
This removes the cluster configuration and adds deployment of Kredits
IPFS Pinner. It also switches hubot-kredits to use the normal API
endpoint again (instead of the cluster port).

Furthermore, it upgrades go-ipfs to the latest version.
2019-07-03 15:34:42 +02:00
basti f1d58f6172 Add IPFS gateway for document GETs
This adds a gateway endpoint for `http://ipfs.kosmos.org` on port 443
with support for `/ipfs/$objectHash` in order to GET documents from the
local gateway API.
2019-07-01 15:14:06 +02:00
basti 5817073a16 Update IPFS cookbook 2019-06-25 16:12:40 +02:00
basti d3b07c59bf Don't notify on minor wiki edits
New config available, which prevents chat notifications on minor edits.
2019-06-25 14:29:55 +02:00
basti fff5a044fe Update/fix hubot URL, move variables to attributes 2019-06-25 14:29:11 +02:00
basti 5521457d09 Add hal8000_xmpp to barnard's runlist
Also, switch to explicit recipe definitions for the other bots.
2019-05-10 07:22:01 +02:00
basti 3fbea864c1 Remove hubot-kredits from IRC hal8000 2019-05-10 07:08:29 +02:00
basti 7afc2f5774 Remove old hubot admins from botka 2019-05-10 07:02:08 +02:00
basti b29a007533 Use different Redis database for new bot 2019-05-10 07:01:43 +02:00
basti 4a480931a5 Fix bug in nginx config
Server name isn't recognized when adding a header
directive before like this.
2019-05-10 07:00:53 +02:00
basti 9661980235 Change bot domain 2019-05-10 07:00:35 +02:00
basti f3f0d0deb2 Add nginx site for hal8000_xmpp 2019-05-09 23:44:28 +02:00
basti e8f325b41b Refactor botka recipe 2019-05-09 23:44:28 +02:00
basti 36cfeab15d Remove obsolete credential item
rs-logger is run by botka, not hal8000.
2019-05-09 23:44:28 +02:00
basti 5f8b274cf9 Use MIT license 2019-05-09 23:44:28 +02:00
basti fe1821739c Remove obsolete port opening
We have an nginx reverse proxy for botka instead.
2019-05-09 23:44:28 +02:00
basti 584aab76a7 Add hal8000_xmpp recipe
Also, configure express ports in attributes, so they are both easy to
see at once, as well as override per node/env.
2019-05-09 23:44:18 +02:00
basti 89027f1f32 Fix maintenance page paths 2019-05-07 16:10:23 +02:00
basti 016f75f89b Merge branch 'master' into feature/maintenance_page 2019-05-07 15:54:12 +02:00
basti 99a677ec47 Configure maintenance error page for 503 2019-05-07 15:52:58 +02:00
basti 1ee2b5ad41 Add maintenance page feature to Mastodon nginx site 2019-05-07 15:49:01 +02:00
basti 36a50489d0 Add maintenance page to nginx default recipe 2019-05-07 15:46:00 +02:00
basti 9811490aad Add self-contained maintenance web page
This can be used for any of our services when doing planned maintenance
or migrations.
2019-05-07 15:11:26 +02:00
basti d162233e8d Add Gitea config for hal8000 2019-04-24 17:50:45 +01:00
basti 2658b90c5b Set log level to info
Now that everything works, we don't need detailed output for every
GitHub payload anymore.
2019-04-20 09:34:37 +01:00
basti f26edab7ad Fix nginx template
It refused to accept connections when the header directive was before
the server_name one.
2019-04-20 09:25:27 +01:00
basti e62393e443 Update cookbook README 2019-04-19 18:52:44 +01:00
basti 1d98bf14fe Configure kosmos-github
closes #35
2019-04-19 18:45:13 +01:00
basti 7c29957ed9 Fix and consolidate firewall rules
Most of them are already defined in the appropriate recipe. And one can
be moved. (These are currently opened on every server for no reason.)
2019-04-19 15:52:56 +01:00
basti 72a7b2ed8d Add hubot-schedule
Already running on the server, with a message schedule for the Kosmos
weekly calls.
2019-04-17 10:06:15 +01:00
basti 3e054645ac Hubot Help config for DM replies
Instead of pasting the entire help content publicly, it can now respond
in private (except it seems that only works on IRC, not XMPP).
2019-04-16 17:24:01 +01:00
basti 13de5b8bd5 Update kredits config
We're on Rinkeby now.
2019-04-16 17:22:24 +01:00
basti 2def42b744 Update Ruby version for Mastodon 2019-04-16 12:56:37 +01:00
basti 41db5b2b73 Use kosmos.org email address 2019-03-15 12:45:28 +07:00
basti a77580d6da Use variable instead of hardcoding domain
The domain name is hardcoded exactly 12 times in just the letsencrypt
recipe.
2019-03-15 12:38:42 +07:00
basti 19ad46036f Update Cleantalk extension to latest version
Running on the server already
2019-03-04 18:22:29 +07:00
basti 0ea1971b6c Open up some more ports in firewall
From some manual playing around.
2019-02-28 17:19:06 +07:00
basti f082269e66 Use Gitea repo, new branch, new Ruby 2019-01-27 12:46:21 +08:00
basti 9ec1a8a6c0 Update ejabberd doc 2019-01-02 09:41:47 +08:00
basti 0012b73607 Update ejabberd doc 2019-01-02 09:19:29 +08:00
basti 36a4beaed9 Update knife-solo for being able to update net-ssh 2018-11-01 12:19:39 +01:00
basti 90851fb7de Update Mastodon's Ruby 2018-11-01 12:19:30 +01:00
bastiandgreg c0358f5c9b Split hubot into separate recipes, add ipfs to hal8000 2018-10-26 17:40:33 +02:00
basti c90ccfcf9e Merge branch 'feature/ipfs' 2018-09-09 15:47:26 +08:00
basti 421897145c Merge branch 'bugfix/postgres-backups' 2018-09-09 15:44:25 +08:00
basti 35772d1641 Remove IPFS role, because it's not just IPFS
This recipe is trying to set up the entire public gateway for
ipfs.kosmos.org, including getting an LE cert, which obviously fails on
machines not hosting the domain. Setting up a public gateway should not
be part of a default IPFS recipe.
2018-09-08 12:56:43 +08:00
basti 4bccf4dd88 Fix missing Mastodon/PosgreSQL backups
The backup cookbook was incomplete, and also there was no database
configured to be backed up.
2018-09-08 12:54:51 +08:00
basti 214e69427e Open up port for Prosody HTTP uploads 2018-09-04 14:14:02 +08:00
basti d20c0cf7f6 Add note about ejabberd cert 2018-08-29 19:38:21 +08:00
basti 412c108dbc Add notes about getting LE certs using acme.sh 2018-08-28 14:31:38 +02:00
basti b2d92723d7 Add hubot-redis-brain to botka
Without it, the web push notifications script cannot work.
2018-06-14 13:31:04 +02:00
basti 122dcfeea7 Add fixme note 2018-06-14 11:47:07 +02:00
basti db039a185a Update certbot 2018-06-13 18:52:13 +02:00
basti 50de448d53 Add nginx reverse proxy for botka on freenode 2018-06-13 18:52:01 +02:00
basti 4b30ce8b23 Make hubot nginx config generic 2018-06-13 18:32:36 +02:00
basti 056c24f6e5 Merge branch 'master' into feature/ipfs 2018-06-07 12:47:22 +02:00
basti e2a5262a39 Update IPFS, open its p2p port 2018-06-07 12:29:05 +02:00
basti af6fe37e0b Add Composer, Mermaid extension 2018-06-01 17:04:15 +02:00