Commit Graph

646 Commits

Author SHA1 Message Date
Greg Karékinian ab422155e4 Add the ability to pass a disk size to the create_vm script
Defaults to 10GB
2021-01-22 13:49:23 +01:00
greg e7fbd57189 Merge branch 'master' into chore/move_mastodon_to_vm 2021-01-14 15:16:17 +00:00
basti 12a3fa5b4e Use default Redis database now 2021-01-13 17:06:36 +01:00
greg ab3ca92228 Merge branch 'master' into bugfix/ejabberd_api_permission 2021-01-13 10:40:06 +00: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 1eb73711a2 Remove application_javascript usage from wormhole recipe 2021-01-06 19:12:36 +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
raucao 333a76f086 Merge pull request 'Configure and run LND and RTL' (#274) from feauture/lnd into master
Reviewed-on: #274
2021-01-05 10:33:37 +00: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
greg bf3bb3ed97 Merge branch 'master' into bugfix/272-certbot_dirsrv 2020-12-31 10:41:06 +00:00
Greg Karékinian 456639bdf8 Fix a syntax error in certbot dirsrv hook
The newline was not escaped and rendered as an actual newline

Fixes #272
2020-12-31 11:38:49 +01:00
greg 8a6b81485a Merge branch 'master' into feature/btcpay_server 2020-12-31 10:20:28 +00: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
greg 7d0490f3da Merge branch 'master' into bugfix/postgresql_client_firewall 2020-12-22 17:16:49 +00: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
Greg Karékinian c700f98976 Add a firewall rule to allow clients to connect
Previously it was not an issue because services that connected to the
PostgreSQL primary were also on the same server as a standby server.
2020-12-18 17:53:28 +01:00
Greg Karékinian f75aeaf9b5 Always set the promote trigger file config
Only setting it for standby servers isn't useful, as we need to be able
to touch this file to trigger the promotion of a new primary server
after running Chef on it.
2020-12-18 17:02:13 +01:00
basti db51f1f332 Add new Zoom meeting ID to whitelist 2020-12-17 14:09:41 +01:00
raucao 95c8b9fea9 Merge pull request 'Migrate to self-hosted zerotier network' (#265) from chore/zerotier_migration into master
Reviewed-on: #265
2020-12-13 12:39:14 +00:00
basti fb996e9abf Join new zerotier network on VM creation 2020-12-11 19:07:11 +01:00
basti 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 cb8fc25fc8 Configure a zerotier-one network controller 2020-12-10 22:51:35 +01:00
greg a06223d764 Merge branch 'master' into feature/akkounts_xmpp_host 2020-12-10 13:27:37 +00:00
greg f1c8faff85 Merge branch 'master' into feature/api_permissions 2020-12-10 13:26:48 +00:00
Greg Karékinian a92205bd65 Fix the VM creation script
Also join the zerotier network
2020-12-09 16:29:15 +01:00
Greg Karékinian 7ceb9af3ed Rename the kosmos_kvm default recipe to host
It makes it clear it is meant for KVM hosts
2020-12-09 11:19:13 +01:00
basti 12125bf0b2 Add hosts entries for ejabberd private IPs 2020-12-08 20:31:01 +01:00
basti 239b6aed51 Add API permissions for akkounts VMs
Using the zerotier IP, which is the same as the knife-zero host.
2020-12-08 20:00:31 +01:00
Greg Karékinian 6c907419aa Set the VM name from the script argument 2020-12-08 17:10:40 +01:00
Greg Karékinian 8f304d00ce Remove unused kitchen.yml files 2020-12-08 16:34:24 +01:00
Greg Karékinian 94a34e4758 Add arguments for RAM and number of CPUs 2020-12-08 16:33:27 +01:00