codex-lb and fira-code
This commit is contained in:
22
modules/services/codex-lb.nix
Normal file
22
modules/services/codex-lb.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
virtualisation.oci-containers.containers.codex-lb = {
|
||||
image = "ghcr.io/soju06/codex-lb:latest";
|
||||
autoStart = true;
|
||||
|
||||
ports = [
|
||||
"2455:2455"
|
||||
"1455:1455"
|
||||
];
|
||||
|
||||
volumes = [
|
||||
"codex-lb-data:/var/lib/codex-lb"
|
||||
];
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
2455
|
||||
1455
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user