wow
This commit is contained in:
parent
d825c4a1f8
commit
f6dbcc2b4f
20 changed files with 540 additions and 26 deletions
25
hosts/server/hikari/hako/services/quadlet/paste.nix
Normal file
25
hosts/server/hikari/hako/services/quadlet/paste.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ config, ... }:
|
||||
|
||||
let
|
||||
inherit (config.virtualisation.quadlet) networks;
|
||||
in
|
||||
{
|
||||
virtualisation.quadlet = {
|
||||
networks.paste = { };
|
||||
|
||||
containers.paste = {
|
||||
containerConfig = {
|
||||
image = "git.mizuki.guru/imnyang/paste:latest";
|
||||
networks = [ networks.paste.ref ];
|
||||
publishPorts = [ "11108:8000" ];
|
||||
volumes = [
|
||||
"/home/imnyang/Docker/paste.mizuki.guru/uploads:/app/uploads:Z"
|
||||
"/home/imnyang/Docker/paste.mizuki.guru/config.toml:/app/config.toml:Z"
|
||||
];
|
||||
environments.ROCKET_ADDRESS = "0.0.0.0";
|
||||
};
|
||||
|
||||
serviceConfig.Restart = "always";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue