2023-01-30 19:40:25 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
2023-01-30 19:53:24 +00:00
|
|
|
krebs.sync-containers3.containers.orange = {
|
2023-01-30 19:40:25 +00:00
|
|
|
sshKey = "${toString <secrets>}/orange.sync.key";
|
|
|
|
};
|
2023-09-03 10:09:18 +00:00
|
|
|
containers.orange.bindMounts."/var/lib" = {
|
|
|
|
hostPath = "/var/lib/sync-containers3/orange/state";
|
|
|
|
isReadOnly = false;
|
|
|
|
};
|
2023-01-30 19:40:25 +00:00
|
|
|
services.nginx.virtualHosts."lassul.us" = {
|
|
|
|
# enableACME = config.security;
|
|
|
|
# forceSSL = true;
|
|
|
|
locations."/" = {
|
|
|
|
recommendedProxySettings = true;
|
|
|
|
proxyWebsockets = true;
|
|
|
|
proxyPass = "http://orange.r";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|