Commit graph

20 commits

Author SHA1 Message Date
22981fdcdd
feat: Remove fail2ban 2025-02-01 00:08:29 +08:00
04f7a7ef1d
treewide: Use nixfmt for formatting 2024-08-18 20:41:20 +02:00
fd138d45e6
treewide: Start using nixpkgs-fmt formatting 2024-06-28 20:12:55 +02:00
e16f3be326
acme: Switch to a wildcard certificate 2024-04-16 01:25:59 +02:00
0d43b5177d
treewide: Refactor nginx config 2024-04-13 04:46:22 +02:00
ddda6f534b
hetzner: Add new server config 2024-03-11 03:42:28 +01:00
54e0826860
gitea: Migrate to forgejo 2024-03-11 00:33:41 +01:00
55a4aaf48b
metrics: Add metrics with victoriametrics + grafana 2023-10-12 20:41:04 +02:00
87dd9daa4f
backups: Add atomic backups with restic 2023-10-12 20:27:34 +02:00
828d3f3878
services: Update outdated options 2023-07-28 11:23:56 +02:00
f6e39e09a5
gitea: Update configuration for 22.11 2023-01-11 02:38:50 +00:00
c4fa991b62
treewide: Add fail2ban 2022-10-14 06:27:11 +01:00
b6594cea54
gitea: Use a hardened systemd unit instead of a container 2022-10-14 05:58:08 +01:00
046a88905d
treewide: Reformat project with alejandra 2022-10-10 13:03:18 +01:00
c019187b37
postgres: Upgrade to version 14 2022-01-18 18:54:37 +00:00
b6f39969cc
Fix podman hostnames
It seems that with the newest version of podman container names are no
longer added as hostnames, meaning that any attempt to resolve
hostnames with the current config will fail. `localhost` is probably
more robust anyway, so we switch to that.

The bug manifests as broken services because nextcloud/gitea cannot
resolve their databases and nextcloud fails to resolve the php
server. To fix this a running system, the gitea and nextcloud database
configurations will need to be hand-edited, since those values are
only set on initialization, and not updated when changed later.
2022-01-08 02:19:04 +00:00
517f4f0080
postgres: Get rid of password authentication
Podman pods make this obsolete; though we need to explicitly set
slirp4netns, otherwise podman will not create private network
namespaces for the pods.
2021-05-16 00:40:09 +01:00
9e06fcf917
gitea: Use a defined service UID
The default of 1000 mapped to my admin user, which was both a bit
concerning and a bit of an annoyance.
2021-04-28 23:18:30 +01:00
df76dcbf11
Rename the postgres named volumes 2021-04-17 22:14:21 +01:00
4689a153b9
Add gitea service 2021-04-12 01:58:07 +01:00