Commit graph

88 commits

Author SHA1 Message Date
Sam Al-Sapti
d0cddcfdcd
Use ip_hash 2025-02-19 01:36:43 +01:00
Sam Al-Sapti
b8a9584b78
Scale NodeBB to 4 processes 2025-02-19 01:06:12 +01:00
Sam Al-Sapti
ba4c0076fd
Fix NGINX for NodeBB 2025-02-19 00:40:53 +01:00
Sam Al-Sapti
0a98d5ed48
Fix typo 2025-02-19 00:33:52 +01:00
Sam Al-Sapti
a111a99b74
Mount public folder 2025-02-19 00:32:17 +01:00
Sam Al-Sapti
be64b31004
Mount public folder 2025-02-19 00:31:24 +01:00
Sam Al-Sapti
442c552e02
Add Redis 2025-02-19 00:28:36 +01:00
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
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
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
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
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
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
Víðir Valberg Guðmundsson
86b2c1a716 Setup matrix credentials for membersystem. 2025-01-16 08:16:58 +01:00
Viðir Valberg Guðmundsson
5502870384 Add data.coop to postfix ALLOWED_SENDER_DOMAINS. 2024-08-03 20:39:24 +02: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
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
Sam Al-Sapti
e633ca13b4
Add hostname to Restic container 2024-03-29 21:01:50 +01:00
Víðir Valberg Guðmundsson
92ca044d06 Adding diun (#208)
Closes #174

Reviewed-on: https://git.data.coop/data.coop/ansible/pulls/208
Co-authored-by: Víðir Valberg Guðmundsson <valberg@orn.li>
Co-committed-by: Víðir Valberg Guðmundsson <valberg@orn.li>
2024-03-28 14:02:24 +00:00
Reynir Björnsson
9a03f71252 Fix another instance of domain=>remote_domain 2024-03-08 10:57:32 +01:00
Reynir Björnsson
a0988aa05d Rename variables to avoid name clash 2024-03-06 13:38:46 +01:00
Reynir Björnsson
4f129168c6 Add uptime-kuma push url for restic 2024-03-05 09:55:04 +01:00
Reynir Björnsson
d468e49830 . 2024-03-04 14:15:52 +01:00
Reynir Björnsson
ae497f0284 . 2024-03-04 13:30:58 +01:00
Reynir Björnsson
ac64706fcb . 2024-03-04 12:48:51 +01:00
Reynir Björnsson
9fb16d3a69 Address comments by @samsapti
We need to use ':' instead of '=' in yaml for environment variable
bindings.
Spurious tab where it should be all spaces
Rename variable mail-from to mail_from to align with existing code style
Nit: change email addresses
2024-03-04 09:20:04 +01:00
Reynir Björnsson
6982d0feaa Restic: send an email on backup failure 2024-03-03 21:17:48 +01:00
Sam A
d90b769640 Merge pull request 'Add uptime kuma as a service we can deploy to a different host for monitoring.' (#196) from add_uptime_data_coop into main
Reviewed-on: https://git.data.coop/data.coop/ansible/pulls/196
Reviewed-by: Sam A. <samsapti@noreply@git.data.coop>
2024-03-01 19:47:57 +00:00