Removed ghost, it's just bloat for my needs

This commit is contained in:
2025-02-07 17:01:15 +00:00
parent 61f2c4d93f
commit 0c296e66b4
2 changed files with 0 additions and 48 deletions

View File

@@ -22,6 +22,5 @@
./containers/data_handling.nix
./containers/caddy.nix
./containers/work_tools.nix
./containers/blog.nix
];
}

View File

@@ -1,47 +0,0 @@
{
inputs,
outputs,
lib,
config,
pkgs,
unstablePkgs,
...
}: {
services.podman = {
networks = {
blog-net = {};
};
containers = {
ghost = {
image = "docker.io/library/ghost:alpine";
autoUpdate = "registry";
network = [
"blog-net"
"proxy-net"
];
environment = {
database__client = "mysql";
database__connection__host = "ghost-db";
database__connection__user = "root";
database__connection__password = config.sops.secrets.ghost_dbpassword.path;
database__connection__database = "ghost";
url = "https://blog.bulba.space";
};
volumes = [
"/home/cianh/blog/content:/var/lib/ghost/content"
];
};
ghost-db = {
image = "docker.io/library/mysql:8.0";
autoUpdate = "registry";
network = "blog-net";
environment = {
MYSQL_ROOT_PASSWORD = config.sops.secrets.ghost_dbpassword.path;
};
volumes = [
"/home/cianh/blog/db:/var/lib/mysql"
];
};
};
};
}