mirror of
https://github.com/Cian-H/My_NixOS_Config.git
synced 2025-12-22 15:01:57 +00:00
Removed ghost, it's just bloat for my needs
This commit is contained in:
@@ -22,6 +22,5 @@
|
||||
./containers/data_handling.nix
|
||||
./containers/caddy.nix
|
||||
./containers/work_tools.nix
|
||||
./containers/blog.nix
|
||||
];
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user