Commit Graph
100 Commits
Author SHA1 Message Date
basti 584da20d3e Deploy nginx reverse proxy for RSK mainnet 2021-11-29 13:55:04 -06:00
basti 0e1b362644 Fix nginx config, deploy LE cert 2021-11-29 13:33:43 -06:00
basti e414dfc23f Merge branch 'master' into feature/rskj_public_endpoint 2021-11-29 13:18:42 -06:00
basti fa8cbac163 Fix custom resource not found in newer Chef versions
fixes #361
refs #337
2021-11-29 13:03:40 -06:00
basti cbf42b9414 Add node config for fornax 2021-11-29 11:23:17 -06:00
basti f68eceec4c Remove obsolete role 2021-11-28 10:08:39 -06:00
basti 0628d091dc Update rsk-testnet-2 with new rskj-testnet role 2021-11-28 10:05:48 -06:00
basti c9d32e02aa Remove old RSK testnet node config 2021-11-28 10:02:28 -06:00
basti 35115b7391 Merge branch 'master' into feature/rskj_public_endpoint 2021-11-28 10:02:06 -06:00
basti 1e6c40b136 Update README 2021-11-25 19:37:48 -06:00
basti 5717d11f7e Upgrade Drone CI to latest version
closes #356
2021-11-25 17:28:13 -06:00
basti 9656399e9d Remove superfluous license header 2021-11-25 17:27:48 -06:00
basti 24f94bdb02 Upgrade Gitea to 1.15.6
Configures the JWT signing algorithm to be the old, less secure
algorithm, until we update the token for Drone CI (and any other OAuth
apps).

closes #338
2021-11-25 16:44:48 -06:00
basti f93909da70 Update akkounts-1 node info 2021-11-22 23:46:36 -06:00
basti b911ec92c9 Update node info 2021-11-16 13:23:25 -06:00
basti ca33dbe624 Improve botka IRC config
Use TLS, specify port.
2021-10-23 11:28:29 +02:00
basti e6ad9865bc Add roles for RSK testnet/mainnet 2021-10-22 14:02:56 +02:00
basti 83202747cf Move RSKj firewall config to own recipe 2021-10-22 14:02:41 +02:00
basti ce7a7d5f83 Update RSKj version 2021-10-22 14:01:39 +02:00
basti 5dd44fc283 Add new RSK VM node configs 2021-10-22 14:00:09 +02:00
basti ca13acb99f Remove obsolete Parity role 2021-10-22 13:59:42 +02:00
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 3817284566 Bump version 2021-08-09 19:12:45 +02:00
basti 89e27a040f Set up public HTTPS endpoint for RSKj
refs #325
2021-08-09 19:02:14 +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