Commit Graph
100 Commits
Author SHA1 Message Date
Râu Cao fbad0bf896 More explicit postfix configs 2023-12-03 18:33:12 +01:00
Râu Cao 8a7eeb1dd9 Change INBOX location 2023-12-03 18:32:55 +01:00
Râu Cao 568197737a Fix SMTP connection delay when peer hostname cannot be resolved 2023-12-03 18:31:47 +01:00
Râu Cao 738e96f7e4 Fix auth for SMTP submission on port 465 2023-12-03 18:31:12 +01:00
Râu Cao 87411274ae Configure email domain for production 2023-12-03 18:29:35 +01:00
Râu Cao ce00852bba Remove obsolete config file 2023-12-01 12:19:21 +01:00
Râu Cao 366c0c0d3c Add WIP email domain and hostname 2023-12-01 10:02:25 +01:00
Râu Cao 89d00afd1c Set up email proxy 2023-12-01 10:02:11 +01:00
Râu Cao e4abfb1b75 Use more reasonable priority for attributes in recipe 2023-12-01 10:01:34 +01:00
Râu Cao 335a082171 Put an LDAP server in the production env 2023-12-01 10:00:35 +01:00
Râu Cao 9d0ff358ef Only use certbot deploy hook when applicable 2023-12-01 10:00:07 +01:00
Râu Cao 495a4231fb Add mail server node 2023-12-01 09:59:41 +01:00
Râu Cao 51068e5259 Add email credentials 2023-12-01 09:58:25 +01:00
Râu Cao fbcf1ed5e7 WIP Add initial cookbook and roles for email service 2023-12-01 09:56:54 +01:00
Râu Cao 158a9c2fbe Update postfix cookbook 2023-11-29 22:26:59 +01:00
Râu Cao 1e9878d17e Remove obsolete clients 2023-11-28 22:43:21 +01:00
Râu Cao 3df7a386e6 Remove rsk-testnet-3 2023-11-28 22:43:21 +01:00
Râu Cao aefd01d38d Remove old RSK mainnet node 2023-11-15 13:22:15 +01:00
Râu Cao 5765c08d6e Fail over to next node when and RSK backend is down 2023-11-15 13:21:46 +01:00
Râu Cao aaae90bc0d Don't exit VM backup scripts immediately on failures 2023-11-15 13:20:42 +01:00
Râu Cao 087616b6b6 Set max size for external S3 upload requests
Fix uploads failing when exceeding the default nginx limit
2023-11-08 21:44:49 +01:00
Râu Cao 390753faa3 Increase update delay for Gandi DNS records 2023-11-05 01:01:16 +01:00
Râu Cao 1a3516904d Update node info 2023-11-05 01:01:04 +01:00
Râu Cao 8071f44f41 Upgrade Mastodon to 4.2.1 2023-11-05 00:57:43 +01:00
Râu Cao 05d04fe76c Update node info 2023-11-04 15:25:01 +01:00
Râu Cao 9fa7d8b28f Upgrade Gitea to 1.20.5 2023-11-04 15:14:58 +01:00
Râu Cao 925a5da239 Upgrade RSKj to 5.3.0, deploy new nodes
Adapted the cookbook for new nodes running on Jammy.
2023-11-04 15:06:31 +01:00
Râu Cao 3d3156a031 Add new host 2023-11-01 12:39:17 +01:00
Râu Cao abc168ebf1 Upgrade ejabberd to 23.10, enable anonymous occupant IDs 2023-11-01 12:29:23 +01:00
Râu Caoandgreg 65d71d6a73 Migrate ejabberd uploads to mod_s3_upload and Garage
In addition to installing and configuring the new module, this also
enables public access to the S3 API via `bucket-name.s3.kosmos.org` as
well as Web access on `bucket-name.web.s3.kosmos.org` (when enabled).

Also includes some drive-by improvements to Chef attribute naming and
usage.

Co-authored-by: Greg Karékinian <greg@karekinian.com>
2023-10-10 17:55:55 +02:00
Râu Cao 832075dfb2 Shorten root domains for external Garage S3 and Web access
And move the configuration-specific preceding dot to the config
template.
2023-10-10 16:34:23 +02:00
Râu Cao 3505212e92 Add missing header to RS discourse proxy config 2023-10-04 12:36:07 +02:00
Râu Cao 2d3872a692 Update chef client on postgres-4
refs #500
2023-10-02 15:48:50 +02:00
Râu Cao eb1303a8da Fix postgres primary not holding onto any WAL segments for later sync
closes #515
2023-10-02 15:46:26 +02:00
Râu Cao 08d9819fd2 Upgrade bitcoind, LND, dotnet, NBXplorer, and BTCPay 2023-09-28 16:41:44 +02:00
Râu Cao f0968aae5b Add Drone CI config for akkounts 2023-09-01 12:51:40 +02:00
Râu Cao e65c58ff6c Upgrade Gitea to 1.20.3, Chef client to 18.x 2023-08-25 17:12:33 +02:00
Râu Cao 1650e429a8 Migrate fornax nginx to openresty 2023-07-31 15:57:13 +02:00
Râu Cao 123b304dd0 Use correct node attributes 2023-07-31 15:57:07 +02:00
Râu Cao bbd25ebb9c Add nginx logs for gitea 2023-07-31 15:56:40 +02:00
Râu Cao ec43f4ee0f Update openresty cookbook 2023-07-31 15:56:20 +02:00
Râu Cao eab94090e8 Use openresty node attributes in openresty templates 2023-07-31 15:07:35 +02:00
Râu Cao 7f2805831c Remove obsolete cookbook 2023-07-31 15:07:18 +02:00
Râu Cao 0f12a54eab Refactor tor usage entirely
Use a custom resource and separate recipe for service configs with
pre-set keys and hostnames
2023-07-30 12:39:41 +02:00
Râu Cao 68b56789c5 Migrate ejabberd UDP streams to openresty
And remove the other streams in the process, in favor of running haproxy
on all LBs.
2023-07-30 12:39:36 +02:00
Râu Cao 438ee4ace0 Migrate Gitea SSH stream to openresty 2023-07-30 12:35:21 +02:00
Râu Cao 27bdc1f60d Update openresty cookbook 2023-07-30 12:34:21 +02:00
Râu Cao cb0fc27134 Refactor tor usage, set up new tor proxy on draco 2023-07-29 16:26:20 +02:00
Râu Cao b149264919 Use paths from node attributes 2023-07-29 14:30:46 +02:00
Râu Cao 53c35fda51 Migrate garage proxies to openresty 2023-07-26 16:42:48 +02:00
Râu Cao bb2f41fdb3 Migrate hubot proxies to openresty 2023-07-26 16:21:03 +02:00
Râu Cao 027d0ed570 Migrate IPFS proxies to openresty 2023-07-26 16:12:33 +02:00
Râu Cao 1362da0add Migrate RS Discourse proxy to openresty 2023-07-26 15:57:08 +02:00
Râu Cao 15b2ea284a Migrate mastodon proxy to openresty 2023-07-26 15:44:04 +02:00
Râu Cao ad59913555 Migrate lndhub proxy to openresty 2023-07-26 15:00:55 +02:00
Râu Cao 1bad2939de Migrate accounts API proxy to openresty 2023-07-26 15:00:43 +02:00
Râu Cao 7b5d46c813 Update openresty cookbook 2023-07-26 14:52:16 +02:00
Râu Cao 98d423aa70 Update roles 2023-07-26 14:16:33 +02:00
Râu Cao 4b14297f83 WIP Migrate Gitea proxy to openresty
TODO: Make nginx_ssh stream resource work with openresty cookbook
2023-07-26 14:15:46 +02:00
Râu Cao 1681942fb1 Migrate static website to openresty 2023-07-26 14:15:22 +02:00
Râu Cao 4d528d67ef Migrate RSK proxies to openresty 2023-07-26 14:08:44 +02:00
Râu Cao 53abc2ec9a Migrate Drone CI proxy to openresty 2023-07-26 14:07:48 +02:00
Râu Cao 543b482adb Migrate discourse proxy to openresty 2023-07-26 13:40:19 +02:00
Râu Cao 87657db8a7 Update openresty cookbook 2023-07-26 13:39:07 +02:00
Râu Cao 4b0b4b8d80 Migrate akkounts proxy to openresty 2023-07-26 13:31:28 +02:00
Râu Cao 77c97607d5 Update openresty cookbook 2023-07-26 13:31:27 +02:00
Râu Cao 4b08e4fc8c Add JSON log format to openresty 2023-07-26 13:31:23 +02:00
Râu Cao fb708743cc Remove obsolete node 2023-07-26 09:31:38 +02:00
Râu Cao 9568b7072d Exclude specified nodes/VMs from image backups 2023-07-25 16:58:16 +02:00
Râu Cao a85bbc4a3e Add kvm host role 2023-07-25 16:38:52 +02:00
Râu Cao 149760702b Upgrade Gitea to 1.20.1 2023-07-23 12:58:02 +02:00
Râu Cao ec77e19ab0 Update SMTP credentials 2023-07-23 12:56:46 +02:00
Râu Cao baab02515c Remove attributes from node config 2023-07-23 12:56:27 +02:00
Râu Cao c48dd4c997 Replace postgresql primary, add new replica 2023-07-21 14:56:14 +02:00
Râu Cao e5805169f5 Improve script for switching postgres primary 2023-07-21 14:55:43 +02:00
Râu Cao 01977e088a Configure remaining options for akkounts
And refactor attributes/variables to use the various service cookbook's
own attributes.
2023-06-28 14:27:25 +02:00
Râu Cao bcbee255f1 Add primary domain config for akkounts 2023-06-21 15:08:14 +02:00
Râu Cao d6989ab161 Replace hardcoded value with variable 2023-06-20 18:52:44 +02:00
Râu Cao b94484d0dd Upgrade Kredits IPFS Pinner 2023-06-20 18:52:16 +02:00
Râu Cao 90f66c74d2 Refactor RSK nginx sites for proxy/lb usage 2023-06-18 16:55:38 +02:00
Râu Cao 80a7751267 Test for correct network in RSKj config 2023-06-07 15:28:23 +03:00
Râu Cao ba573798ee Upgrade RSKj to latest stable release 2023-06-07 15:27:58 +03:00
Râu Cao d113edb004 Set X-Forwarded-Proto for Discourse requests 2023-06-04 15:25:00 +03:00
Râu Cao 9648e071ca Configure akkounts for Discourse Connect 2023-06-04 15:24:06 +03:00
Râu Cao 91ede90184 Upgrade Gitea to 1.19.3 2023-05-13 15:41:59 +02:00
Râu Cao 6c329b7200 Upgrade ztncui to 0.8.13 2023-05-12 17:16:22 +02:00
Râu Cao d0a1785847 Install new versions of ztncui, restart service 2023-05-12 17:15:52 +02:00
Râu Cao 29052ce509 Deploy new VMs for Redis, Liquor Cabinet 2023-05-12 17:02:10 +02:00
Râu Cao fc041965f4 Update Ubuntu base image 2023-05-12 17:01:50 +02:00
Râu Cao 807ca52f1c Upgrade LND to 0.16.1 2023-04-26 15:05:17 +02:00
Râu Cao 78eb3c033a Upgrade golang to 1.20.3 2023-04-26 15:05:06 +02:00
Râu Cao efb07ad3c1 Allow akkounts to set private XML storage data
Enables kosmos/akkounts#116
2023-04-19 17:32:30 +02:00
Râu Cao 14e04d77a9 Activate real-time MUC blocklist module 2023-04-19 17:32:15 +02:00
Râu Cao f8f3fc7c3a Upgrade ejabberd to 23.04
Also add a package version attribute, since the value changed in the
past.
2023-04-19 17:30:55 +02:00
Râu Cao 5ad15ba1f3 Upgrade Gitea to 1.19.1 2023-04-13 18:31:42 +02:00
Râu Cao 1afc860b21 Fix Gitea Actions runner not working with private host 2023-04-11 12:14:17 +02:00
Râu Cao 03a02a19c4 Use proxy protocol for ejabberd nginx streams 2023-04-04 15:14:41 +02:00
Râu Cao 7a1be33b7a Make all nginx vhosts listen on IPv6 2023-04-04 15:10:23 +02:00
Râu Cao f36268e906 Update ejabberd admin list 2023-04-04 10:14:50 +02:00
Râu Cao 2dd4d572a6 Configure akkounts domain 2023-04-04 09:32:40 +02:00