Commit graph

302 commits

Author SHA1 Message Date
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
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
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
Víðir Valberg Guðmundsson
4c65521447 Mastodon: Fix container name for crontab cleanup jobs 2024-02-21 13:36:31 +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
54a63ca069 Add uptime kuma as a service we can deploy to a different host for monitoring. 2024-02-11 14:50:21 +01:00
Sam Al-Sapti
46ffcd792c
Add missing bind mount and upgrade WriteFreely, close #192 2024-02-09 22:00:02 +01:00
Sam Al-Sapti
a3b5f5520d
Correct folder name for webmail overrides 2023-12-10 22:04:09 +01:00
Sam Al-Sapti
bd074929ac
Fix stuff 2023-12-09 19:37:46 +01:00
Sam Al-Sapti
3b8c526da1
Merge branch 'main' into compose-files 2023-12-07 20:39:04 +01:00
Víðir Valberg Guðmundsson
27321a16a2 Fix writefreely mariadb datadir and set user_invites to admin. 2023-12-03 23:49:06 +01:00
Víðir Valberg Guðmundsson
6e4b3e4aa4 Add writefreely instance. 2023-12-03 23:24:33 +01:00
Sam Al-Sapti
85e1da3cbf
Last fixes + install Compose v2 plugin 2023-10-04 22:05:59 +02:00
Sam Al-Sapti
15fa5d6215
No need for Python Docker bindings since we use Docker cmd 2023-10-04 22:02:11 +02:00
Sam Al-Sapti
5ae78bcd17
Fix magic 2023-10-04 21:34:59 +02:00
Sam Al-Sapti
98fcc2d634
Include service name in task names in block.yml 2023-10-04 19:44:39 +02:00
Sam Al-Sapti
3ac2d83971
Magic 2023-10-04 19:43:11 +02:00
Sam Al-Sapti
3001317e20
Ansible doesn't support looping over a block 2023-10-04 19:35:52 +02:00
Sam Al-Sapti
6cb06d43f1
Formatting 2023-10-03 22:13:30 +02:00
Sam Al-Sapti
62f548d05b
Fix task for single service 2023-10-03 22:00:51 +02:00
Sam Al-Sapti
f067a1b6c2
Convert websites to Compose stacks 2023-10-03 21:45:21 +02:00
Sam Al-Sapti
52b1d1ccd2
Use a block to deploy all services + add pre_deploy and post_deploy 2023-10-03 21:19:51 +02:00
Sam Al-Sapti
f50831460c
Convert all services to Compose stacks 2023-09-30 18:46:17 +02:00
Sam Al-Sapti
728455f42a
Convert Netdata to a Compose stack, close #80 2023-09-30 17:19:10 +02:00
Sam Al-Sapti
85aa718480
Split Matrix and Element into their own Compose stacks 2023-09-30 16:42:16 +02:00
Sam Al-Sapti
a47440b6b5
Move compose files into templates and upload them to the host 2023-09-30 16:25:06 +02:00
Sam Al-Sapti
656fb6baab
Merge branch 'main' into move_stuff_around 2023-09-29 23:02:07 +02:00
Sam Al-Sapti
ddb9629dea
Fix spacing and indentation 2023-09-29 21:09:23 +02:00
Víðir Valberg Guðmundsson
1449185591 Remove byro. 2023-09-25 09:48:29 +02:00
Sam Al-Sapti
2629c7c2f9
Replace another deprecated option for Forgejo 2023-09-23 16:43:31 +02:00
Sam Al-Sapti
927d1e31ee
Replace deprecated option for Forgejo 2023-09-23 16:38:45 +02:00
Sam Al-Sapti
d662ae321e
Remove CodiMD, close #122 2023-09-16 18:22:48 +02:00
Sam Al-Sapti
4e6f18311d
Use subfolders for templates as well 2023-08-05 19:35:55 +02:00
Sam Al-Sapti
a741a0c26c
Switch to Forgejo, close #145 2023-07-26 18:06:40 +02:00
Sam Al-Sapti
bb145efff2
Pull images on website 2023-07-26 17:15:35 +02:00
Sam Al-Sapti
085bb1dfe7
Avoid code duplication 2023-07-26 17:03:33 +02:00
Benjamin Bach
4d09c1ec11
Update ansible task for data.coop website with new branches and docker images 2023-07-25 22:17:35 +02:00
Sam Al-Sapti
f9946e72ca
Merge branch 'main' into move_stuff_around 2023-07-20 18:09:41 +02:00
Sam Al-Sapti
1ebaef9f59
Fix cron job... 2023-07-11 22:52:59 +02:00
Sam Al-Sapti
e2a6d19a32
Fix folder permissions for Mastodon 2023-07-11 22:26:08 +02:00
Sam Al-Sapti
ec73fb702c
Fix cron job name 2023-07-11 22:02:21 +02:00
Sam Al-Sapti
7d8b96cef0
Add cron jobs to clean cached Mastodon data, close #170 2023-07-11 21:56:04 +02:00
Sam Al-Sapti
9920676155
Fix sender domains for Postfix 2023-07-11 21:44:05 +02:00
Víðir Valberg Guðmundsson
8c24a02a43 Enable email in matrix. 2023-07-11 21:30:22 +02:00
Sam Al-Sapti
7d13fc5302
Use service names instead of subdomains for vhost file names 2023-07-09 23:07:23 +02:00
Sam Al-Sapti
ef7c00b748
Fix quote 2023-07-09 20:39:07 +02:00
Sam Al-Sapti
863b285b07
Move files to their correct directories (files in files, Jinja2 templates in templates) 2023-07-09 20:27:32 +02:00
Sam Al-Sapti
c5857d0ba8
Don't put unnecessary executables in git 2023-07-09 19:51:26 +02:00