mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-08 05:49:25 -06:00
test: forgejo microVM
This commit is contained in:
parent
1f4c493072
commit
1376cdbe77
9 changed files with 245 additions and 157 deletions
|
|
@ -164,6 +164,12 @@ in
|
|||
source = service.ssl.path;
|
||||
tag = "acme_certs";
|
||||
}
|
||||
{
|
||||
mountPoint = "/run/secrets";
|
||||
proto = "virtiofs";
|
||||
source = "/var/lib/secrets";
|
||||
tag = "run_secrets";
|
||||
}
|
||||
];
|
||||
|
||||
forwardPorts = [
|
||||
|
|
@ -179,6 +185,11 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"d ${service.mntPaths.path0} 0755 root root -"
|
||||
"d ${service.secretPaths.path0} 0755 root root -"
|
||||
];
|
||||
|
||||
services.caddy.virtualHosts."${host}" = {
|
||||
extraConfig = ''
|
||||
reverse_proxy ${service.interface.ip}:${toString service.ports.port0}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue