Commit graph

459 commits

Author SHA1 Message Date
Sam Al-Sapti
4e61b2ce50
Conflicts 2025-02-19 00:17:05 +01:00
Sam Al-Sapti
c145451986
Add an NGINX in front of NodeBB 2025-02-19 00:01:10 +01:00
Sam Al-Sapti
122f0f2df2
Upgrade NodeBB 2025-02-18 23:33:53 +01:00
Sam Al-Sapti
b092114cb1
Fix setup.json 2025-02-16 00:31:08 +01:00
Sam Al-Sapti
a558120b26
Rename to forum.fedi.dk 2025-02-15 23:10:55 +01:00
Sam Al-Sapti
9d7de257fa
Hardcode NodeBB version and add email capability 2025-02-15 22:38:24 +01:00
Sam Al-Sapti
e8583c606a
NodeBB is running 2025-02-15 20:21:47 +01:00
Sam Al-Sapti
0a0d57e867
Fixup 2025-02-15 19:00:04 +01:00
Sam Al-Sapti
0154ad30c4
Fixup 2025-02-15 18:57:29 +01:00
Sam Al-Sapti
368a1d7586 Fixup 2025-02-15 18:08:57 +01:00
Sam Al-Sapti
49892e760b Fixup 2025-02-15 18:07:47 +01:00
Sam Al-Sapti
ce398cca07 Change perms 2025-02-15 18:02:08 +01:00
Sam Al-Sapti
c10006f730 Typo 2025-02-15 17:56:09 +01:00
Sam Al-Sapti
6c31bab89d More strict permissions 2025-02-15 17:41:37 +01:00
Sam Al-Sapti
cc03de247f Add networks 2025-02-15 17:35:26 +01:00
Sam Al-Sapti
163e585bc8 Add depends_on 2025-02-15 17:31:44 +01:00
Sam Al-Sapti
b9ee18d4d3 Create DB password 2025-02-15 17:25:01 +01:00
Sam Al-Sapti
82ee734dc8 Add subfolder 2025-02-15 17:19:29 +01:00
Sam Al-Sapti
c773c8060f Lint and more 2025-02-15 17:13:03 +01:00
Reynir Björnsson
1f7f633359 Add nginx-proxy env vars 2025-02-15 16:53:46 +01:00
Reynir Björnsson
acaaffb982 WIP nodebb 2025-02-15 16:30:05 +01:00
Reynir Björnsson
948b0baf44 Restic: handle incomplete backups as success
If we don't have a POST_COMMANDS_INCOMPLETE then POST_COMMANDS_FAILURE
will trigger. This may be a bit misleading as we are doing backups of
live systems and it is almost expected that a file will change or
disappear during backup. Instead, we report backup as "up" with a
message that the backup was incomplete.
2025-02-12 09:42:07 +01:00
Reynir Björnsson
0263b2bbb8 restic-mail: undo debugging
During debugging the script I inserted "echo" and "cat". Then I removed
the "echo" but forgot the "cat". This breaks stuff. Undo cat.
2025-02-12 09:01:44 +01:00
Reynir Björnsson
df13e8178f Fixup message-id 2025-02-11 11:01:02 +01:00
Reynir Björnsson
ec7c248528 Improve restic failure mail
mailu antispam reported an invalid date header and a missing message-id
header.
2025-02-11 10:54:41 +01:00
Reynir Björnsson
6feef53226 Enable pre-deploy tasks for forgejo 2025-02-11 09:29:51 +01:00
Reynir Björnsson
80b9e008ca compress must be a string 2025-02-11 09:09:03 +01:00
Reynir Björnsson
b09e308ce3 Expand tabs 2025-02-11 09:07:55 +01:00
Reynir Björnsson
ccc20902ea Restrict docker log size for nginx-proxy
It easily gets gargantuan.
2025-02-11 08:55:10 +01:00
Reynir Björnsson
4ffbbe9ce7 Make curl silent in restic scripts
Printing curl progress is just silly.
2025-02-11 08:36:18 +01:00
Reynir Björnsson
581cc4ea04 restic: also send mail to reynir on failure
It seems our own mailu instance is unhappy with postfix sending
ourselves these backup notifications.
2025-02-11 08:34:36 +01:00
Reynir Björnsson
737467597d Forgejo: serve a robots.txt (#233)
Graciously borrowed from https://codeberg.org/robots.txt

I checked, and forgejo is being hit by crawlers trying dead links and whatnot.

Reviewed-on: https://git.data.coop/data.coop/ansible/pulls/233
Reviewed-by: valberg <valberg@orn.li>
Co-authored-by: Reynir Björnsson <reynir@reynir.dk>
Co-committed-by: Reynir Björnsson <reynir@reynir.dk>
2025-02-10 18:07:27 +00:00
reynir
7e3da99411 Merge pull request 'Matrix: enable registration with tokens' (#229) from matrix-registration-token into main
Reviewed-on: https://git.data.coop/data.coop/ansible/pulls/229
2025-02-02 09:26:34 +00:00
Víðir Valberg Guðmundsson
ad5b655f54 Bump portainer to 2.26.1. 2025-02-02 00:09:13 +01:00
Víðir Valberg Guðmundsson
b89215e12e Add OIDC RSA private key to membersystem secrets and environment. 2025-02-02 00:02:14 +01:00
Reynir Björnsson
0bc39511e4 Matrix: enable registration with tokens
This allows registration if the user has a valid registration token.
2025-01-31 11:14:06 +01:00
Reynir Björnsson
f1d795710d Mastodon: prune profile media monthly (#228)
Currently running this with --days 14 and am seeing gigabytes freed.  Before freeing:

    Avatars:	29.6 GB (1.92 MB local)
    Headers:	66.2 GB (6.17 MB local)

Reviewed-on: https://git.data.coop/data.coop/ansible/pulls/228
Co-authored-by: Reynir Björnsson <reynir@reynir.dk>
Co-committed-by: Reynir Björnsson <reynir@reynir.dk>
2025-01-23 10:44:54 +00:00
Víðir Valberg Guðmundsson
86b2c1a716 Setup matrix credentials for membersystem. 2025-01-16 08:16:58 +01:00
Reynir Björnsson
7eb0fe0a3d Upgrade element some more
***Upgrading intensifies***
2024-10-14 10:07:32 +02:00
Reynir Björnsson
ad9615f52e Upgrade element 2024-10-14 10:01:42 +02:00
Viðir Valberg Guðmundsson
b96cbe4ad9 Upgrade matrix (synapse) to 1.114.0. Close #219 2024-09-13 09:58:48 +02:00
Viðir Valberg Guðmundsson
5502870384 Add data.coop to postfix ALLOWED_SENDER_DOMAINS. 2024-08-03 20:39:24 +02:00
valberg
5ff603393b Update roles/docker/defaults/main.yml 2024-08-02 22:52:37 +00:00
Benjamin Bach
c00ab53269
Update environment variables re: https://git.data.coop/data.coop/membersystem/issues/38 2024-08-01 13:46:21 +02:00
Viðir Valberg Guðmundsson
8ae844f2df Bump matrix synapse to v1.110.0. 2024-07-15 10:37:50 +02:00
Viðir Valberg Guðmundsson
bd0dc90c44 Bump mastodon to 4.2.10. 2024-07-04 21:04:42 +02:00
Viðir Valberg Guðmundsson
abca90c219 Bump forgejo to 7.0.5 2024-07-03 22:09:58 +02:00
Viðir Valberg Guðmundsson
3e24254b57 Bump element to v1.11.69. 2024-06-19 21:17:22 +02:00
Viðir Valberg Guðmundsson
bd4f92fd65 Bump matrix synapse to v1.109.0. 2024-06-19 21:12:58 +02:00
Viðir Valberg Guðmundsson
1bba1d066b Add matrix notifications to diun. 2024-06-19 20:57:50 +02:00