Mailu using manual docker-compose

This commit is contained in:
Julien Hémono 2024-06-15 13:45:19 +02:00
parent 170f08c47e
commit 8af1410be3
2 changed files with 20 additions and 0 deletions

View file

@ -10,6 +10,7 @@
./hardware-configuration.nix ./hardware-configuration.nix
# Supporting # Supporting
./buckets.nix ./buckets.nix
./mailu.nix
# Services # Services
./suite.nix ./suite.nix
./bois-ar.nix ./bois-ar.nix

19
hosts/sesame/mailu.nix Normal file
View file

@ -0,0 +1,19 @@
{ pkgs, lib, config, ... }:
let
domain = "mail.hemono.fr";
in {
virtualisation.docker.enable = true;
services.nginx = {
enable = true;
virtualHosts.${domain} = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "https://localhost:8081";
recommendedProxySettings = true;
};
};
};
}