Commit Graph

214 Commits

Author SHA1 Message Date
005ea1a55d letsencrypt: Update Lego to latest version 2022-12-31 12:25:34 +00:00
04acd65c96 rclone: Update to latest version 2022-12-31 12:25:07 +00:00
a35af5950d slidge: Update to latest version 2022-12-31 12:24:57 +00:00
05c77bc234 Makefile: Use QEMU directly for virtual hosts
This commit moves away from `virsh`, which requires setup and a
persistent daemon, and is rather complex and opaque, and will now have
virtual hosts use QEMU directly. Port mappings are now also made
automatically, albeit on higher ports -- port 8022 for SSH, port 8080
for HTTP, port 8443 for HTTPS. More port mappings will be added in the
future, with direct mappings made where possible.
2022-12-28 22:57:19 +00:00
dc91311f2b slidge: Update to latest git version 2022-12-15 16:55:05 +00:00
0200269b7b prosody: Update to version 0.12.2, bump modules 2022-12-14 10:24:14 +00:00
299eee98ce prosody: Add privilege module for components
This module will be inactive while dynamic `VirtualHost` configuration
is being sorted out, but should nevertheless help in testing.
2022-12-13 19:49:59 +00:00
4bc17662bd Remove Spectrum in favour of Slidge
Slidge replaces Spectrum with immense improvement to bridging
capabilities, albeit with only experimental MUC support. Nevertheless,
the current state is sufficiently stable for a complete replacement.
2022-12-13 15:37:42 +00:00
560cfc82b6 slidge: Add service for legacy protocol bridging 2022-12-13 10:16:45 +00:00
c2c8d746cd gotosocial: Always show landing page 2022-12-06 19:56:05 +00:00
551fc4a133 gotosocial: Update to version 0.6.0 2022-12-06 18:55:28 +00:00
eca9e43216 rspamd: Update to latest version 2022-12-05 19:40:27 +00:00
8051418e61 dovecot: Only LIST directories in user maildir
This option has Dovecot only return directories in LIST commands, which
is a necessary workaround because of how our home and maildir locations
are the same, which sometimes has extraneous files (such as Sieve
scripts) appear in IMAP directory listings.

We should eventually move away from this unified location, but doing so
requires careful planning and migration.
2022-12-03 14:11:03 +00:00
1ee844b346 Makefile: Update CoreOS to latest version 2022-11-27 16:27:30 +00:00
1b71debe96 Add configuration for GoToSocial
This adds a basic GoToSocial setup with a default configured
administrator, to be used as a small environment for trusted users.
2022-11-27 16:25:53 +00:00
d452ccec1b spectrum: Update plugins to latest versions 2022-11-10 19:24:17 +00:00
ddc2f50505 hugo: Always hard-reset to origin after fetching 2022-10-29 17:38:39 +01:00
eda658f99d nginx: Move back to separate UPSTREAM variables
This commit moves the `nginx-proxy-http` service back to separate
`UPSTREAM_HOST`, `UPSTREAM_PORT`, and `UPSTREAM_PATH` variables, which
allows for more granular configuration, e.g. `proxy_redirect` patterns.
2022-10-29 17:24:58 +01:00
453c8a88f3 hugo: Use branch name from payload if possible
Gitea and Gitlab allow for filtering push events based on the branch
name, so we assume that webhook payloads don't need to be filtered based
on the branch in these cases. Github doesn't allow for this sort of
filtering, so we have to specify a default branch to filter on.
2022-10-29 15:56:46 +01:00
f2ab86f5bf hugo: Clone with depth=1, reset after fetch 2022-10-29 11:25:23 +01:00
b7ca813a40 Improve webhook behaviour for Gitea
Webhook execution in Gitea will now wait longer before returning, and
Hugo will correctly set permissions on destination directories.
2022-10-28 18:33:42 +01:00
97f409de0b gitea: Update to latest version, enable webhooks 2022-10-28 17:52:19 +01:00
90916370e7 lldap: Update to latest version 2022-10-28 17:52:09 +01:00
719acc692b navidrome: Update to latest version 2022-10-28 17:52:09 +01:00
95c264856e rclone: Update to latest version 2022-10-28 17:52:09 +01:00
89475f3970 rspamd: Update to latest version 2022-10-28 17:52:09 +01:00
a99e97abfe hugo: Switch to webhook-based builder
This commit switches Hugo to a webhook-based building process, with
support for Github, Gitlab, and Gitea hooks (including local versions of
Gitea) initially. In addition, Hugo-based sites are now intended to be
served under a single volume, with ingress configuration pointing to
sub-paths into the volume.

Documentation for webhook setup and NGINX proxy configuration is still
underway, and will be filled in later.
2022-10-28 17:52:05 +01:00
e637394c12 nginx: Use unified UPSTREAM_ENDPOINT environment
This commit unifies the `UPSTREAM_HOST` and `UPSTREAM_PORT` environment
variables to a new `UPSTREAM_ENDPOINT` variable, making additional
customizations (such as a `proxy_pass` to a sub-path) possible.
2022-10-28 17:44:26 +01:00
ec0b4c697b rss2email: Update CSS for better readability 2022-10-13 19:07:16 +01:00
48abe1c3db Improve virtual environment
Virtual environments now re-use names, to prevent accumulation of older
environments when updating versions.
2022-10-13 18:59:57 +01:00
de9e2083e4 rss2email: Improve CSS styling 2022-10-04 18:34:05 +01:00
bafdb80fa2 rss2email: Add custom CSS template 2022-10-04 12:27:30 +01:00
3422f39a84 rss2email: Update to latest version, fix issues
This also enables multipart HTML and CSS in posts, improving readability
for all client types.
2022-10-02 14:53:26 +01:00
e32a3a5228 postfix: Don't use RBL to reject mail
These checks are better implemented at the RSpamd level, and would, in
some cases, incorrectly reject email at the SMTP server level.
2022-10-01 15:33:56 +01:00
9b6e002d11 gitea: Add lldap as service dependency 2022-09-25 13:36:31 +01:00
491bed37a8 prosody: Move from IMAP to LDAP for authentication
Users in the `prosody_user` and `prosody_admin` groups will be granted
access to Prosody (as regular users and administrators, respectively),
making this a more flexible solution compared to IMAP.
2022-09-25 13:34:09 +01:00
4740570100 spectrum: Update WhatsApp bridge to latest version 2022-09-24 18:47:32 +01:00
3bb5d70100 Move deprecated services to attic 2022-09-22 18:25:14 +01:00
95997af3b6 gitea: Update to latest version 2022-09-19 15:25:25 +01:00
096d51ecb4 gitea: Use LDAP authentication by default
New Gitea installations will now use LDAP authentication, typically
provided by the included `lldap` service, over SMTP authentication, as
this is is more flexible.
2022-09-19 15:07:53 +01:00
0c5a483853 hugo: Fix build watch command 2022-09-19 14:55:56 +01:00
84a17f6df3 Support same-name directories in CoreOS update
This commit extends our `coreos-home-server-update` script with support
for updating host directories with configuration collected across
multiple remote directories of the same name. This will, essentially,
allow for extending systemd services with custom configuration, as
sometimes required of base systemd service files.
2022-09-19 13:02:29 +01:00
4294f1ec9c Add LDAP support with LLDAP
This sets the stage for moving common authentication from IMAP/Dovecot
to LDAP, which allows for more control over user information, as well as
a basic form of RBAC.

No services are currently set up to support LDAP -- support will follow
soon after this commit.
2022-09-19 13:00:31 +01:00
7cfa407ec9 Makefile: Update to latest CoreOS version 2022-09-18 17:48:01 +01:00
70e6387139 Makefile: Add target for building container
This is mostly useful in testing, and requires that `podman` is working
in the local system.
2022-08-26 15:10:02 +01:00
6e9a9e5b1b gitea: Update to latest version 2022-08-25 22:23:51 +01:00
9ee50ce43d Remove embedded host configuration
This commit removes host configuration that is only useful for my own
personal use-cases, and leaves base and virtual hosts, which are more
commonly useful. It is intended that additional hosts are tracked as
either submodules or subtrees, as required by individual use-cases.
2022-08-01 20:30:31 +01:00
0b3a6940cb gitea: Update configuration
Pushing will now create private repositories by default, and a number of
other configuration issues have been fixed.
2022-07-24 10:43:17 +01:00
e467b89e7f Add Gitea for managed code hosting
This commit adds a new service for Gitea, exposing HTTP and SSH ports by
default (SSH over 7920), and accepting authentication via the local SMTP
server. No users are otherwise created by default, and administration is
expected to happen either via CLI, or via a custom admin user.
2022-07-23 17:01:27 +01:00
786af62d5a Revert "mariadb: Update to version 10.8"
This reverts commit e17b0de11f due to
issues with InnoDB database schemata.
2022-07-21 01:07:31 +01:00