NixOS-Config/nixos/server/docker.nix

17 lines
407 B
Nix
Raw Normal View History

{outputs, ...}: {
2024-08-24 22:16:51 -04:00
virtualisation.docker = {
enable = true;
daemon.settings.log-driver = "json-file";
};
2024-08-26 14:29:23 -04:00
# Azuracast Nginx: TODO, get a better solution than docker lmao
services.nginx.virtualHosts."radio.${outputs.secrets.jimDomain}" = {
2024-08-26 14:29:23 -04:00
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:255";
proxyWebsockets = true;
};
};
2024-08-24 22:16:51 -04:00
}