Commit Graph
100 Commits
Author SHA1 Message Date
basti ee0a587dad Upgrade botka, deploy for Libera.Chat to nodejs-2
Note: Temporarily disables wormhole, because it's still on Freenode,
where its credentials have been deleted by the new "management".
2021-09-13 18:21:46 +02:00
basti abec4be8ff Update Gemfile.lock 2021-09-03 10:29:32 +02:00
basti 2a5d68cda9 Update Sockethub to 4.1.0
Tested/running on `nodejs-2`.
2021-09-03 10:28:07 +02:00
basti 8bbb4deed7 Upgrade Gitea to 1.14.6 2021-08-09 16:10:40 +02:00
basti bf009d6822 Upgrade LND to 0.13.1 2021-08-09 16:00:19 +02:00
basti b7af04e8be Support Tor connections for LND
Adds basics for general Tor support in bitcoin recipes, and specific
support for Tor to the lnd recipe.
2021-07-01 15:34:06 +02:00
basti 9f0b5f0e64 (tor) Add support for ControlPort and CookieAuthentication
Allow to configure Tor to be controlled by other applications, so they
can manage hidden services and such.
2021-07-01 15:32:28 +02:00
basti 37873fb881 Add data bag for LND credentials 2021-07-01 13:17:51 +02:00
basti 4bda4d7857 Install LND with all subsystems enabled
This allows to run loopd and other tools.
2021-06-30 17:10:57 +02:00
basti 2ca576468e Auto-unlock LND wallet/node
The latest release added a new config option for auto-unlocking the
wallet/node using a password file. This changeset adds support for just
that to the lnd recipe, so that nobody has to manually unlock it after
reboots or service restarts.
2021-06-30 17:09:31 +02:00
basti a65065c793 Upgrade all bitcoin software to latest versions 2021-06-29 15:55:20 +02:00
basti f095094cf7 Fix compilation issue with dotnet services
Compilation fails while the executable is running.
Fixed by stopping the services before upgrades.
2021-06-29 15:53:52 +02:00
basti 3dcb9e76ce Update node info 2021-06-29 15:53:22 +02:00
basti b6d0bafce0 Remove license header, improve formatting 2021-06-21 17:50:23 +02:00
basti bbaeeb5099 Upgrade Gitea to 1.14.3
Adds a new config for the repository root directory.

closes #322
2021-06-21 17:47:30 +02:00
basti 40a943354a Update generated docs 2021-06-16 11:35:40 +02:00
basti cbdbb9c2eb Switch to dokken for testing in kitchen 2021-06-13 17:50:32 +02:00
basti 37787ce3e6 Specify package version for rskj 2021-06-13 17:50:25 +02:00
basti 2063f5c953 WIP RSK cookbook 2021-06-13 16:58:53 +02:00
basti d7af1a57d1 Create RSK testnet VM 2021-06-12 14:52:36 +02:00
basti bda100313e Update README
Add some info about Chef Workstation and rbenv.
2021-05-28 14:51:42 +02:00
basti ec75f1446c Use chef-workstation Ruby with rbenv
See https://github.com/docwhat/rbenv-chef-workstation for painlessly
using Chef Workstation's Ruby with rbenv.
2021-05-28 14:40:02 +02:00
basti 6bd76ebec6 Don't require old bundler version 2021-05-28 14:36:07 +02:00
basti 7624bcec11 Upgrade Gitea from 1.13.1 to 1.13.7 2021-04-10 11:00:00 +02:00
basti c99f82fcd4 Update cookbook version 2021-04-09 11:45:39 +02:00
basti 29e1d64ae0 Remove superfluous license headers from recipe files 2021-04-09 11:44:36 +02:00
basti 9939e4d993 Deploy hubots from Gitea repos
The repos have been moved over from GitHub.
2021-04-09 11:35:49 +02:00
basti 891b5f3fee Tell browsers to cache Gitea avatars for 30 days
fixes #312
2021-02-26 20:41:53 +01:00
basti 5559ca41a7 Support IPv6 and CORS for font hosting 2021-02-25 17:38:11 +01:00
basti 474208ea8e Use shared Kosmos webfont for Gitea
Currently using a custom rule for system fonts. This change also adds a
missing new class to the custom rule to cover Markdown-generated content
like e.g. comments.
2021-02-25 14:29:41 +01:00
basti 6109707f3c Host assets.kosmos.org on centaurus 2021-02-25 12:13:20 +01:00
basti 1c47f9ab27 Add cookbook for static asset hosting
Configures assets.kosmos.org, only for webfont hosting for now.
2021-02-25 12:12:41 +01:00
basti 09f0faadda Add missing header to recipe 2021-02-24 19:11:53 +01:00
basti fd901f6e64 Update Zoom JWT 2021-02-18 18:51:36 +01:00
basti f7d3736712 Update node details
Removes unused recipes from generated runlist
2021-02-18 18:51:11 +01:00
basti f3def7b71d Update node.js (apt repo) 2021-02-10 23:47:23 +01:00
basti 9a54a7554f Use package resource instead of custom command 2021-02-08 20:01:22 +01:00
basti e1bcd5efa0 Set up Zerotier Control UI
Install/configure ztncui[1], with HTTP access allowed from within the
private network.

[1]: https://key-networks.com/ztncui/
2021-02-07 17:44:08 +01:00
basti 1adf3281bf Configure/run Sidekiq for Akkounts 2021-02-03 19:53:13 +01:00
basti 65185b1a1b Update lnd to 0.12.0 2021-01-27 18:05:30 +01:00
basti 0d2a04f8ba Refactor bitcoind recipe
Fixes various issues, like compilation not starting on subsequent
version updates, service not restarting after compilation, and a TODO
note on the compilation script itself.
2021-01-26 12:45:28 +01:00
basti 152edbc958 Update bitcoind to 0.21 2021-01-26 12:45:17 +01:00
basti 40fe403879 Stop c-lightning before compilation
See https://github.com/ElementsProject/lightning/issues/4346 for
potential issues with not doing that.
2021-01-26 12:33:09 +01:00
basti c3256a07cc Fix c-lightning configure not finding python
Broke in the latest release.
2021-01-26 12:05:29 +01:00
basti 461af035ac Update c-lightning to 0.9.3 2021-01-26 12:05:19 +01:00
basti 5a5db43de3 Use new postgres client role and config
Fixes btcpay having still used the old postgres master, and integrating
it into the global client config setup from here on out.
2021-01-26 11:49:20 +01:00
basti f7d3abc307 Stop BTCPay server before compilation
fixes #291
2021-01-26 11:48:41 +01:00
basti 49c75bbb05 Add Onion-Location header for kosmos.social
Tells Tor Browser where to find the native onion site.

refs #201
2021-01-25 12:09:28 +01:00
basti bd48dab1d8 Set up postgres-3 VM 2021-01-23 17:06:15 +01:00
basti 05cd38a5b9 Re-enable and improve Tor access for kosmos.social 2021-01-23 14:22:34 +01:00
bastiandgreg fd4844a012 Fix ejabberd API permission for akkounts VMs
It should have been using a /32, not a /8 subnet, in order to only allow
the akkounts VM(s) to use the API endpoints without further
authorization.
2021-01-22 18:41:45 +01:00
bastiandgreg d018b6570d Use default Redis database now 2021-01-22 18:41:45 +01:00
bastiandgreg 69c1994840 Update node data 2021-01-22 18:41:45 +01:00
bastiandgreg d121971cca Set up mastodon-1 VM 2021-01-22 18:41:45 +01:00
bastiandgreg 1403d91631 Remove extra license header 2021-01-22 18:41:45 +01:00
bastiandgreg 6da190b110 Don't configure HTTPS site when certs missing 2021-01-22 18:41:45 +01:00
bastiandgreg 8a870f6fd6 Don't fail on first run, when Tor hostname missing 2021-01-22 18:41:45 +01:00
bastiandgreg ad64bfc0be Update system package dependencies for 20.04 2021-01-22 18:41:45 +01:00
bastiandgreg 971a3a25a1 Remove extra license headers
And update year in LICENSE file
2021-01-22 18:41:45 +01:00
basti 775ec691ef Add firewall rules for LND and c-lightning 2021-01-14 21:25:35 +01:00
basti 6c6026958b Fix typo in port number of externalip config 2021-01-14 21:23:03 +01:00
basti 12a3fa5b4e Use default Redis database now 2021-01-13 17:06:36 +01:00
basti 9224aa9d97 Update node data 2021-01-13 17:06:25 +01:00
basti 62320106cb Set up mastodon-1 VM 2021-01-13 09:50:37 +01:00
basti c622f81572 Remove extra license header 2021-01-13 09:50:10 +01:00
basti 047526e0fc Don't configure HTTPS site when certs missing 2021-01-13 09:49:49 +01:00
basti 9d13acd41a Don't fail on first run, when Tor hostname missing 2021-01-13 09:49:36 +01:00
basti 4d0259493f Update system package dependencies for 20.04 2021-01-13 09:48:23 +01:00
basti c4fa9e6ec1 Remove extra license headers
And update year in LICENSE file
2021-01-12 18:42:14 +01:00
basti 74cf26846e Fix ejabberd API permission for akkounts VMs
It should have been using a /32, not a /8 subnet, in order to only allow
the akkounts VM(s) to use the API endpoints without further
authorization.
2021-01-12 18:06:16 +01:00
basti 4872677066 Configure postgres recipes for VMs and zerotier access
* Remove encfs (using encrypted volumes instead)
* Allow access without TLS from zerotier network
2021-01-07 13:53:30 +01:00
basti 9d9907f0ed Remove extra license copy from recipe, update year 2021-01-07 12:53:44 +01:00
basti 4309efd228 Add postgres-2 VM 2021-01-07 12:53:20 +01:00
basti 1eb73711a2 Remove application_javascript usage from wormhole recipe 2021-01-06 19:12:36 +01:00
basti eb4764026b Add script for notifying Kosmos channels from Ruby
An example for notifying Kosmos XMPP channels from plain Ruby, with no
dependencies.
2021-01-06 11:27:50 +01:00
basti fe63f01f7b Move wormhole from barnard to nodejs-2
Fixed two small bugs in the recipe:

* hubot user wasn't created when necessary
* systemd template always included redis service dependency
2021-01-05 18:03:15 +01:00
basti ddded6fbae Create new nodejs VM, move kredits-github to it 2021-01-05 11:30:31 +01:00
basti adfd76aa64 Configure local LND as Lightning node in BTCPay Server 2021-01-02 09:59:50 +01:00
basti 2b765e744a Configure and run RTL
Ride The Lightning is a Web UI for Lightning Network nodes. It is
accessible via the bitcoin VM's private zerotier IP on port 3000.
2021-01-01 17:42:57 +01:00
basti 19e3dfa7b9 Remove obsolete non-standard RPC and REST ports
We'll just run those on default ports without custom config.
2021-01-01 14:14:59 +01:00
basti 37f1fa79e7 Use standard Lightning Network port for LND
Only use the non-standard one internally, so we can run both c-lightning
and lnd on the same machine.
2021-01-01 14:13:58 +01:00
basti f5f234c0fd Use name of existing node
Migrated from andromeda to bitcoin-2.
2021-01-01 14:13:17 +01:00
basti 3fcdc8b056 Configure and run LND 2020-12-31 10:10:22 +01:00
basti 61accc05c2 Add nginx proxy for BTCPay 2020-12-29 15:56:53 +01:00
basti 5892e3c0ab Configure and run c-lightning daemon 2020-12-22 12:28:29 +01:00
basti f88354c67c Compile and install c-lightning 2020-12-21 16:53:22 +01:00
basti bbd5500982 Configure and run BTCPay Server 2020-12-21 13:50:28 +01:00
basti ca373a1503 Don't require auth cookie for nbxplorer API 2020-12-21 12:25:13 +01:00
basti 570a692bb2 Configure and run nbxplorer 2020-12-21 12:19:30 +01:00
basti 5277bce20b Formatting 2020-12-21 11:14:19 +01:00
basti aa2aa59e28 Download and build NBXplorer and BTCPay 2020-12-21 11:12:14 +01:00
basti a2b76c7d76 New recipe: Install .NET Core SDK 2020-12-21 11:01:20 +01:00
basti db51f1f332 Add new Zoom meeting ID to whitelist 2020-12-17 14:09:41 +01:00
basti 4b9dfd9c60 Update node configs 2020-12-11 19:24:12 +01:00
basti fb996e9abf Join new zerotier network on VM creation 2020-12-11 19:07:11 +01:00
basti 396fe6e714 Whitelist ejabberd custom node attributes
fixes #256
2020-12-11 19:07:06 +01:00
bastiandgreg c4dbed8d65 Fix zerotier network creation
Using outdated/invalid rules syntax. Remove the property entirely, so
the API will create the default rule (which is the same) on creation.

Co-authored-by: Greg Karékinian <greg@karekinian.com>
2020-12-11 17:42:25 +01:00
basti 2de9d5fe17 Fix typo 2020-12-11 17:40:40 +01:00
basti 1cb366a160 Add commands for running Chef against VMs 2020-12-10 23:39:59 +01:00
basti cb8fc25fc8 Configure a zerotier-one network controller 2020-12-10 22:51:35 +01:00