Commit graph

600 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 A.
10306ebe90 Merge pull request 'NodeBB on forum.fedi.dk' (#245) from nodebb into main
Reviewed-on: https://git.data.coop/data.coop/ansible/pulls/245
2025-02-18 20:59:09 +00:00
Sam Al-Sapti
1c5b032aa4
Change fedi_dk_nodebb_secrets.secret_value 2025-02-16 01:53:30 +01:00
Sam Al-Sapti
b092114cb1
Fix setup.json 2025-02-16 00:31:08 +01:00
Sam Al-Sapti
273500a3e3
Add .ansible to .gitignore 2025-02-15 23:37:55 +01:00
Sam Al-Sapti
9121a37c9d
Add to sercets.yml.contents 2025-02-15 23:36:19 +01:00
Sam Al-Sapti
4f693dafbb
Where did that come from? 2025-02-15 23:35:33 +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
8f21c6e1d9 Merge pull request 'restic-mail' (#239) from restic-mail into main
Reviewed-on: https://git.data.coop/data.coop/ansible/pulls/239
Reviewed-by: valberg <valberg@orn.li>
2025-02-13 15:03:24 +00: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
1ede5629f4 Merge pull request 'Fixup message-id' (#238) from restic-mail into main
Reviewed-on: https://git.data.coop/data.coop/ansible/pulls/238
2025-02-11 10:02:35 +00:00
Reynir Björnsson
df13e8178f Fixup message-id 2025-02-11 11:01:02 +01:00
reynir
19d5c68ca2 Merge pull request 'Improve restic failure mail' (#237) from restic-mail into main
Reviewed-on: https://git.data.coop/data.coop/ansible/pulls/237
2025-02-11 09:58:46 +00: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
22c5e6dbff Merge pull request 'Enable pre-deploy tasks for forgejo' (#235) from forgejo-robots.txt into main
Reviewed-on: https://git.data.coop/data.coop/ansible/pulls/235
2025-02-11 08:33:40 +00:00
Reynir Björnsson
6feef53226 Enable pre-deploy tasks for forgejo 2025-02-11 09:29:51 +01:00
reynir
8143a835f8 Merge pull request 'Restrict docker log size for nginx-proxy' (#234) from log-max into main
Reviewed-on: https://git.data.coop/data.coop/ansible/pulls/234
Reviewed-by: valberg <valberg@orn.li>
2025-02-11 08:24:13 +00: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
75681c72cd Merge branch 'restic-mail' 2025-02-11 08:40:06 +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
fd2d2e025f Merge pull request 'Upgrade element some more' (#221) from upgrade-element into main
Reviewed-on: https://git.data.coop/data.coop/ansible/pulls/221
2024-10-14 08:16:26 +00:00