Commit Graph
100 Commits
Author SHA1 Message Date
raucaoandgreg d029d90214 Generate postgres user/db for akkounts, use credentials from env
Co-authored-by: Greg Karékinian <greg@karekinian.com>
2025-05-06 15:49:43 +04:00
raucao f8e5fd2f3e Fix missing dir for Mastodon maintenance file 2025-04-29 17:53:05 +04:00
raucao cab766c806 Update node.js, install bun, for Rails 8.0 upgrade 2025-04-29 17:51:53 +04:00
raucao 5777a45f0a Fix/improve ejabberd cert renewals 2025-04-22 17:28:44 +04:00
raucao f23c37312e Update deno cookbook 2025-04-18 16:21:07 +04:00
raucao cf1ef4f2f4 Merge pull request 'Upgrade Gitea, disable downloads of repo archives' (#588) from chore/upgrade_gitea into master
Reviewed-on: #588
2025-04-09 13:28:28 +00:00
raucao f65256d229 Disable downloads of repo archives 2025-04-09 17:25:41 +04:00
raucao 2cc0ee5b8a Upgrade Gitea to 1.23.7 2025-04-09 17:25:17 +04:00
raucao 10e8ba5569 Add missing CORS headers to host-meta.json
Otherwise XMPP Web clients cannot fetch the Bosh and WS endpoint info
2025-04-08 00:10:29 +04:00
raucao 6c35a20b89 Merge pull request 'Upgrade rskj to 7.0.0' (#587) from chore/upgrade_rskj into master
Reviewed-on: #587
2025-04-05 09:14:25 +00:00
raucao e3d9a50f09 Upgrade Gitea to 1.23.6 2025-04-04 18:53:46 +04:00
raucao c4652ca2eb Upgrade rskj to 7.0.0 2025-04-04 16:59:11 +04:00
raucao 56440bfd89 Merge pull request 'Upgrade nbxplorer, BTCPay Server' (#586) from chore/upgrade_btcpay into master
Reviewed-on: #586
2025-03-25 10:08:06 +00:00
raucao abee2407bf Upgrade nbxplorer, BTCPay Server 2025-03-25 14:03:34 +04:00
raucao 0cef08fb7b Merge pull request 'Update Gandi API token' (#585) from chore/update_gandi_token into master
Reviewed-on: #585
2025-03-19 14:02:49 +00:00
raucaoandgreg f246f63594 Update Gandi API token
For certbot renewals. Also set resource to sensitive in ejabberd recipe.

Co-authored-by: Greg Karékinian <greg@karekinian.com>
2025-03-19 18:01:50 +04:00
raucao 2dee25bf23 Update node info 2025-03-19 18:00:07 +04:00
raucao a28d31b415 Upgrade Gitea to 1.23.5 2025-03-05 14:09:03 +04:00
raucao 0bf50bce2e Merge pull request 'Fix postgres running out of available connection slots' (#584) from bugfix/gitea_db_connections into master
Reviewed-on: #584
2025-03-05 10:03:51 +00:00
raucao 6be99aa3de Cap maximum open database connections
Fixes Gitea opening too many connections, which can impact other apps
trying to connect as well.
2025-03-05 13:53:33 +04:00
raucao 90bf66ada9 Upgrade Gitea to 1.23.4 2025-02-21 10:12:27 +04:00
raucao 32cfd6401f Upgrade LND to 0.18.5
Urgent security upgrade
2025-02-19 14:19:10 +04:00
raucao 1124f25069 Upgrade Gitea to 1.23.3 2025-02-12 11:51:14 +04:00
raucao 8d149a475d Merge pull request 'Upgrade Gitea to 1.23.1' (#582) from chore/upgrade_gitea into master
Reviewed-on: #582
2025-01-22 14:41:19 +00:00
raucao 905a67475b Upgrade Gitea to 1.23.1 2025-01-22 09:36:33 -05:00
raucao 8251fa83ce Merge pull request 'Deploy substr' (#579) from feature/substr into master
Reviewed-on: #579
2025-01-22 14:27:02 +00:00
raucao 0fa61a585e DRY up code, add GBP rates 2025-01-17 14:52:28 -05:00
raucao 89f1790afc Publish daily BTC price in public remoteStorage 2025-01-17 10:42:09 -05:00
raucao 72ac8c6a84 Update akkounts credentials 2025-01-17 09:17:43 -05:00
raucao b1bb5d0625 Use default value for STUN credentials lifetime 2025-01-14 15:30:42 -05:00
raucao b470110fd4 Upgrade Gitea to 1.22.6 2024-12-16 12:10:08 +04:00
raucao 31b7ff9217 Upgrade Gitea to 1.22.5 2024-12-12 18:32:58 +04:00
raucao d90a374811 Remove outdated flag from certbot command 2024-12-12 18:32:26 +04:00
raucao 12cd14fff5 Deploy new postgres primary 2024-12-12 18:31:54 +04:00
raucao b67d91077d Remove old garage nodes 2024-12-12 18:30:16 +04:00
raucao 070badfeb3 Add postgres replica bootstrap example 2024-12-12 18:29:16 +04:00
raucao 4ce39738fd Allow larger bodies for Gitea file uploads
Needed for uploading larger packages to the registry
2024-12-09 21:19:39 +04:00
raucao d35e57b90e Deploy substr 2024-12-09 21:19:13 +04:00
raucao 2d8a1cebb1 Update node info 2024-12-09 20:44:18 +04:00
raucao c8160e38c8 Turn known pubkeys into object with usernames 2024-12-09 18:21:55 +04:00
raucao 67cd89b7b8 Merge pull request 'Fix TLS cert updates for kosmos.chat' (#578) from chore/fix_cert_updates_kosmos-chat into master
Reviewed-on: #578
2024-12-09 14:21:05 +00:00
raucao e4112a3626 Fix TLS cert updates for kosmos.chat
Some recipes weren't updated for the proxy validation yet. Needed to
split the ejabberd cert in two, so it can do normal validation on
`.org` and proxy validation on `.chat`.
2024-12-09 18:17:10 +04:00
raucao 89813465b2 Merge pull request 'Upgrade Mastodon to 4.3' (#577) from chore/upgrade_mastodon into master
Reviewed-on: #577
2024-12-09 14:14:35 +00:00
raucaoandgreg 6106e627e2 Upgrade Mastodon to 4.3
Co-authored-by: Greg Karékinian <greg@karekinian.com>
2024-12-09 18:12:45 +04:00
raucao d8baa41c14 Add new node configs 2024-12-09 18:11:51 +04:00
raucao 775f2275bb Upgrade Gitea to 1.22.3 2024-10-19 14:42:11 +02:00
raucaoandbumi b4019b224b Upgrade lndhub.go to 1.0.2, add service fee config
Co-authored-by: Michael Bumann <hello@michaelbumann.com>
2024-10-18 12:36:41 +02:00
raucao 52841d8c53 Add WKD endpoint to website nginx conf 2024-10-17 11:58:53 +02:00
raucao b9b97d5056 Fix mail server VM backups 2024-10-16 12:48:08 +02:00
raucao e5448aa85c Merge pull request 'Upgrade strfry, add new Kosmos profile/pubkey, relay icon' (#575) from chore/upgrade_strfry into master
Reviewed-on: #575
2024-10-16 10:44:47 +00:00
raucao 4d1125ac2b Upgrade strfry to 1.0.1
Also set up and use a new Kosmos pubkey/profile and add a relay icon
2024-10-16 12:42:49 +02:00
raucao 3853f94ae0 Use new proxy domain for ejabberd cert 2024-10-16 12:40:10 +02:00
raucao d1097c7688 Fix and improve nginx redirects, akkounts headers 2024-10-16 12:39:34 +02:00
raucao 7949fd067c Add IPv6 support for nostr.kosmos.org 2024-10-16 12:37:47 +02:00
raucao 0726e58f7c Update ejabberd LDAP filter for new akkounts release 2024-10-16 12:36:30 +02:00
raucao fe581c348a Fix bookmarks disappearing for XMPP users
The limit for PEP nodes was ridiculously low. No idea why, but it means
users were only able to save 10 items (e.g. channel bookmarks) at once.
2024-10-16 12:34:31 +02:00
raucao af62078960 Update node info 2024-10-16 12:34:17 +02:00
raucao 9b4deff91e Remove cln from bitcoin-2 node 2024-10-16 12:34:01 +02:00
raucao 0944bc5266 Merge pull request 'Migrate S3 backups from AWS, fix automatic cleanups' (#574) from chore/move_fix_s3_backups into master
Reviewed-on: #574
2024-10-16 10:33:24 +00:00
raucaoandgreg eb06926606 Migrate S3 backups from AWS, fix automatic cleanups
The cleanups were broken in that every single archive was also copied to
a shared folder and never deleted from there.

Co-authored-by: Greg Karékinian <greg@karekinian.com>
2024-10-16 12:31:51 +02:00
raucao 15096ca17b Merge pull request 'Bitcoin-related software upgrades' (#573) from chore/bitcoin_upgrades into master
Reviewed-on: #573
2024-10-16 10:25:53 +00:00
raucao 3551b71154 Add sensitive attribute to resource with credentials 2024-10-16 12:23:38 +02:00
raucao 752bb74663 Remove boltz service and RTL integration
We use peerswap these days, and the build process for boltz was made
much more complicated at some point. Not worth upgrading for us.
2024-10-16 12:23:38 +02:00
raucao c64526a944 Upgrade RTL to v0.15.2
Need to use `npm install --force` due to a dependency issue
2024-10-16 12:23:38 +02:00
raucao da242d4817 Upgrade LND to 0.18.3 2024-10-16 12:23:29 +02:00
raucao 0af4bc1d0d Upgrade bitcoind to 28.0
Requires a newer C++ compiler
2024-10-16 11:28:13 +02:00
raucao d935b99d7d Fix Mastodon signup/password/confirmation links
Adds ENV vars for our custom fix in b916182bc1

fixes #562
2024-08-22 21:51:49 +02:00
raucao d048bbb297 Merge pull request 'Upgrade Gitea to 1.22.1' (#568) from chore/upgrade_gitea into master
Reviewed-on: #568
2024-08-10 11:45:39 +00:00
raucao 61bd121709 Upgrade Gitea to 1.22.1 2024-08-10 13:44:39 +02:00
raucao ec9b912e45 Merge pull request 'Configure nginx default vhost, add specific redirects for some domains' (#565) from chore/nginx_redirects into master
Reviewed-on: #565
2024-08-09 12:44:29 +00:00
raucao d53ba42a1d Make kosmos.org the default nginx vhost 2024-08-04 16:51:57 +02:00
raucao a99f7f7574 Add config for accounts .well-known proxyying 2024-08-04 16:51:18 +02:00
raucao 1c8ee14bb3 Add HTTP redirects for kosmos.chat and kosmos.cash 2024-08-04 16:49:20 +02:00
raucao cdedf49be3 Merge pull request 'Fix download URLs for Mastodon exports/archives' (#564) from bugfix/mastodon_archive_download_urls into master
Reviewed-on: #564
2024-08-04 14:46:26 +00:00
raucao 5e727ec279 Fix download URLs for Mastodon exports/archives
See https://github.com/mastodon/mastodon/issues/24380
2024-08-04 14:55:22 +02:00
raucao 9d928298d2 Fix Gitea user/repo avatar URLs in certain situations
I encountered a CORS proxy which somehow ended up with http://_gitea_web
URLs.
2024-07-10 11:36:07 +02:00
raucao 1174661b46 Use proxy domain for RS Discourse ACME challenge 2024-07-08 20:31:46 +02:00
raucao 232360efba Remove commented code 2024-07-03 09:23:13 +02:00
raucao 8b8e8f3438 Move strfry extras into their own directory 2024-07-03 09:22:50 +02:00
raucao 522c213b09 Add Deno lockfile 2024-06-20 18:16:27 +02:00
raucao 80eddfbf56 Configure strfry whitelist
Allow akkounts pubkey to publish to our own relay
2024-06-20 15:38:27 +02:00
raucao 7e664723a1 Configure akkounts nostr relay URL in production 2024-06-20 15:04:17 +02:00
raucao f5961af7fe Create/deploy strfry VM 2024-06-11 23:17:33 +02:00
raucao d1301dad3e Add, configure, deploy strfry policies 2024-06-11 23:12:22 +02:00
raucao 42c46a5645 Deploy strfry reverse proxy 2024-06-11 23:10:24 +02:00
raucao 5be9081613 Header name has to be all lowercase in strfry config 2024-06-11 23:09:49 +02:00
raucao 1649d03665 Update strfry cookbook 2024-06-11 23:09:48 +02:00
raucao b9a3910364 Update strfry cookbook 2024-06-11 23:09:48 +02:00
raucao 9835b85181 Fall back to default port for strfry proxy
When we don't override it elsewhere
2024-06-11 23:09:48 +02:00
raucao dbccd9d2bf Add kosmos_strfry cookbook, configs 2024-06-11 23:09:48 +02:00
raucao 1a5f312699 Add strfry cookbook 2024-06-11 23:09:48 +02:00
raucaoandgreg ff313525c8 Reload postfix and dovecot on cert renewal
closes #552

Co-authored-by: Greg Karékinian <greg@karekinian.com>
2024-06-05 16:44:18 +02:00
raucaoandgreg cfb379741e Add imap and smtp subdomains to mail server cert
closes #543

Co-authored-by: Greg Karékinian <greg@karekinian.com>
2024-06-05 15:55:29 +02:00
raucaoandgreg 0c29fad404 Remove superfluous license header
Co-authored-by: Greg Karékinian <greg@karekinian.com>
2024-06-05 15:50:09 +02:00
raucao 416935d8b5 Merge pull request 'Upgrade Gitea to 1.22' (#555) from chore/upgrade_gitea into master
Reviewed-on: #555
2024-06-02 21:18:07 +00:00
raucao 2b6f81c5d6 Upgrade Gitea to 1.22 2024-06-02 23:17:16 +02:00
raucao 18496bb0da Merge pull request 'Configure akkounts for nostr zaps' (#554) from chore/akkounts_config into master
Reviewed-on: #554
2024-06-02 21:05:15 +00:00
raucao d878b4208e Configure akkounts for nostr zaps 2024-06-02 23:03:06 +02:00
raucao d31440d235 Add CORS headers to kosmos.social LNURL paths 2024-06-02 23:02:22 +02:00
raucao 6f287f14ef Deploy live branch 2024-06-02 23:01:49 +02:00