Commit graph

434 commits

Author SHA1 Message Date
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
Viðir Valberg Guðmundsson
aeaa48d7ca Bump forgejo to 7.0.4 2024-06-19 20:12:48 +02:00
Víðir Valberg Guðmundsson
ed237c9661 Bump mastodon to 4.2.9 2024-05-30 21:12:56 +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
Víðir Valberg Guðmundsson
41116063a2 Bump forgejo to 1.21.8. 2024-03-28 14:33:12 +01: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
Víðir Valberg Guðmundsson
4112bb73b6 Bump forgejo to 1.21.7. 2024-03-06 13:35:47 +01:00
Víðir Valberg Guðmundsson
e30f1d57d5 Bump mastodon (deployed some time ago). 2024-03-06 13:32:50 +01:00
Reynir Björnsson
ce030b2dea Fixup yaml 2024-03-05 09:57:55 +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
Sam Al-Sapti
f792bf3dd1
Fixes and add Watchtower to Uptime Kuma instance 2024-02-29 20:45:59 +01:00
Víðir Valberg Guðmundsson
266f990d1a Pin forgejo to 1.21.6-0. 2024-02-22 20:44:55 +01:00
Víðir Valberg Guðmundsson
241d63494f Upgrade forgejo to 1.21. Closes #201. 2024-02-21 14:26:28 +01:00
Víðir Valberg Guðmundsson
4c65521447 Mastodon: Fix container name for crontab cleanup jobs 2024-02-21 13:36:31 +01:00
Reynir Björnsson
590597b137 Forgejo SMTP_ADDR was split into ditto + SMTP_PORT
And the default SMTP_PORT is 25 while we use 587 => mail notifications
broke
2024-02-21 11:23:29 +01:00
Sam Al-Sapti
a99b39824c
Merge branch 'main' into add_uptime_data_coop 2024-02-18 17:23:43 +01:00
Sam Al-Sapti
7aae344da0
Don't specify service settings twice 2024-02-18 17:18:54 +01:00
Víðir Valberg Guðmundsson
26b98681fc Bump mastodon to 4.2.7. 2024-02-16 15:35:12 +01:00