blog
This commit is contained in:
parent
78f86cf6ad
commit
9a451889a3
20
services/blog.nix
Normal file
20
services/blog.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ pkgs, lib, ... }: {
|
||||
name = "blog";
|
||||
ports = {
|
||||
tcp = [ 80 ];
|
||||
udp = [];
|
||||
http = 80;
|
||||
forward = [];
|
||||
};
|
||||
config = {
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedOptimisation = true;
|
||||
virtualHosts."rachel.cafe" = {
|
||||
root = "${lib.rachelcafe.packages.x86_64-linux.default}";
|
||||
};
|
||||
};
|
||||
};
|
||||
hosts = [ "rachel.cafe" ];
|
||||
volumes = [];
|
||||
}
|
|
@ -20,6 +20,9 @@
|
|||
ROOT_URL = "http://localhost/";
|
||||
HTTP_PORT = 3001;
|
||||
};
|
||||
settings.actions = {
|
||||
ENABLED = true;
|
||||
};
|
||||
};
|
||||
|
||||
services.openssh = {
|
||||
|
@ -45,7 +48,7 @@
|
|||
http = 3001;
|
||||
forward = [ { container = 22; host = 22; proto = "tcp"; } ];
|
||||
};
|
||||
hosts = [ "localhost" ];
|
||||
hosts = [ "githug.xyz" ];
|
||||
volumes = [{
|
||||
name = "gitea-statedir";
|
||||
mountPoint = "/var/lib/gitea";
|
||||
|
|
Loading…
Reference in New Issue
Block a user