c2f36c6f01
Merge pull request 'Update ejabberd to 20.12' ( #294 ) from chore/ejabberd_20.12 into master
...
Reviewed-on: #294
2021-01-24 12:47:37 +00:00
Greg Karékinian
90ce664f2e
Update ejabberd to 20.12
...
It fixes a bug that prevented the config to be reloaded for LDAP options
(https://github.com/processone/ejabberd/issues/3181 ) and more:
https://www.process-one.net/blog/ejabberd-20-12/
2021-01-24 10:14:29 +01:00
Greg Karékinian
0e5519a4b7
Update Gitea to 1.13.1
...
Running on centaurus
Closes #253
2021-01-24 10:12:37 +01:00
Greg Karékinian
1ad7a6936c
Generate the hosts entry for the PostgreSQL replica
2021-01-24 10:11:17 +01:00
Greg Karékinian
b1fea4b09f
Update the postgres-3 node after Chef run
2021-01-23 19:25:49 +01:00
Greg Karékinian
7ce8b7d461
Enable PostgreSQL service
2021-01-23 19:14:55 +01:00
Greg Karékinian
112eb903ec
Add a script to switch the primary PostgreSQL server
...
Usage: scripts/postgresql/switch_primary.sh <old_primary_hostname> <new_primary_hostname>
2021-01-23 19:13:54 +01:00
Greg Karékinian
7e61e9cb45
Promote a new PostgreSQL primary: postgres-2
2021-01-23 19:09:41 +01:00
Greg Karékinian
a7116b8fe5
Switch the TLS mode to disabled for Gitea
...
We connect through a Zerotier private IP
2021-01-23 19:08:06 +01:00
Greg Karékinian
a4a35da0ff
Replace the hardcoded primary pg IP with a hostname
2021-01-23 17:34:58 +01:00
Greg Karékinian
5cb390f340
Remove the postgresql_replica from centaurus, run Chef
...
I have also deleted the data directory (in /mnt/data)
2021-01-23 17:11:45 +01:00
Greg Karékinian
4e1bd458f3
Update the mastodon-1 node after Chef run
2021-01-23 17:11:45 +01:00
Greg Karékinian
40fde8a861
Update the ejabberd nodes after Chef run
2021-01-23 17:11:45 +01:00
Greg Karékinian
39d0304ab4
Update the akkounts-1 node after Chef run
2021-01-23 17:11:45 +01:00
Greg Karékinian
ee7b3626be
Generate a host entry for the current PostgreSQL primary
2021-01-23 17:11:45 +01:00
Greg Karékinian
286cd2f2a3
Move the postgresql_client role to the top
...
We want the host file to be written before database connections happen
2021-01-23 17:11:45 +01:00
Greg Karékinian
1e3a2b40d4
Add the postgresql_client role to the akkounts role
2021-01-23 17:11:45 +01:00
Greg Karékinian
bb0e73d1b9
Switch ejabberd, mastodon and gitea to a hostname for Postgres
2021-01-23 17:11:45 +01:00
Greg Karékinian
fdd70d1872
Remove postgres-1 server
...
It was created with an encfs volume inside a VM, we want full disk encryption
instead. I have deleted the VM from centaurus as well as its disk and
have also unauthorized its id from the zerotier controller
2021-01-23 17:11:45 +01:00
bd48dab1d8
Set up postgres-3 VM
2021-01-23 17:06:15 +01:00
Greg Karékinian
41ca5938a2
Merge branch 'master' into feature/postgres_vms
2021-01-23 14:43:58 +01:00
e31f9ced96
Merge pull request 'Re-enable and improve Tor access for kosmos.social' ( #292 ) from feature/mastodon_tor into master
...
Reviewed-on: #292
2021-01-23 13:32:57 +00:00
05cd38a5b9
Re-enable and improve Tor access for kosmos.social
2021-01-23 14:22:34 +01:00
d1929fcc9c
Merge pull request 'Fix LN nodes not being accessible from the outside' ( #289 ) from bugfix/lnd_externalip into master
...
Reviewed-on: #289
2021-01-23 11:07:38 +00:00
Greg Karékinian
6ec747d416
Add missing credentials for zerotier
2021-01-22 18:43:05 +01:00
Greg Karékinian
cbcb50bc86
Create a zerotier_controller role
2021-01-22 18:41:46 +01:00
Greg Karékinian
eba7d63b43
Delete the test-2 client and node file
2021-01-22 18:41:46 +01:00
Greg Karékinian
5fa23fe872
Remove the andromeda client and node files
2021-01-22 18:41:46 +01:00
Greg Karékinian
0e1a73b18f
Set the private Zerotier IP for draco in the node file
2021-01-22 18:41:46 +01:00
Greg Karékinian
9b4756441a
Add a recipe to join the private Zerotier network
2021-01-22 18:41:45 +01:00
Greg Karékinian
dd78b8cf7e
Use the PG primary private Zerotier IP if it exists
2021-01-22 18:41:45 +01:00
Greg Karékinian
88e52607e3
Add a recipe to set up a hosts entry for the PG primary
2021-01-22 18:41:45 +01:00
Greg Karékinian
511400a7b8
Update hostsfile and add zerotier cookbook
2021-01-22 18:41:45 +01:00
Greg Karékinian
9a4420fc11
Add the ability to pass a disk size to the create_vm script
...
Defaults to 10GB
2021-01-22 18:41:45 +01:00
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
d018b6570d
Use default Redis database now
2021-01-22 18:41:45 +01:00
69c1994840
Update node data
2021-01-22 18:41:45 +01:00
d121971cca
Set up mastodon-1 VM
2021-01-22 18:41:45 +01:00
1403d91631
Remove extra license header
2021-01-22 18:41:45 +01:00
6da190b110
Don't configure HTTPS site when certs missing
2021-01-22 18:41:45 +01:00
8a870f6fd6
Don't fail on first run, when Tor hostname missing
2021-01-22 18:41:45 +01:00
ad64bfc0be
Update system package dependencies for 20.04
2021-01-22 18:41:45 +01:00
971a3a25a1
Remove extra license headers
...
And update year in LICENSE file
2021-01-22 18:41:45 +01:00
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
775ec691ef
Add firewall rules for LND and c-lightning
2021-01-14 21:25:35 +01:00
6c6026958b
Fix typo in port number of externalip config
2021-01-14 21:23:03 +01:00
d1ab4c24ea
Merge pull request 'Set up new Mastodon VM, fix/improve Chef recipes' ( #284 ) from chore/move_mastodon_to_vm into master
...
Reviewed-on: #284
2021-01-14 15:17:19 +00:00
e7fbd57189
Merge branch 'master' into chore/move_mastodon_to_vm
2021-01-14 15:16:17 +00:00
12a3fa5b4e
Use default Redis database now
2021-01-13 17:06:36 +01:00
9224aa9d97
Update node data
2021-01-13 17:06:25 +01:00