mirror of
https://forge.katzen.cafe/katzen-cafe/katzen-cafe.git
synced 2024-11-05 23:46:22 +01:00
39 lines
774 B
Nix
39 lines
774 B
Nix
{...}: {
|
|
containers."schule-wp" = {
|
|
autoStart = true;
|
|
privateNetwork = true;
|
|
hostAddress = "10.0.4.1";
|
|
localAddress = "10.0.4.2";
|
|
bindMounts = {
|
|
"/var/wp" = {
|
|
hostPath = "/schule-wp";
|
|
isReadOnly = false;
|
|
};
|
|
};
|
|
config = {
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
services.wordpress = {
|
|
sites."schule" = {
|
|
virtualHost = {
|
|
hostName = "wp.schule.katzen.cafe";
|
|
adminAddr = "schule@schrottkatze.de";
|
|
listen = [
|
|
{
|
|
ip = "10.0.4.2";
|
|
port = 80;
|
|
ssl = false;
|
|
}
|
|
];
|
|
};
|
|
};
|
|
};
|
|
system.stateVersion = "23.11";
|
|
};
|
|
};
|
|
deployment.keys = {
|
|
};
|
|
}
|