25 lines
629 B
Nix
25 lines
629 B
Nix
|
{
|
||
|
virtualisation = {
|
||
|
podman.enable = true;
|
||
|
oci-containers.backend = "podman";
|
||
|
oci-containers.containers = {
|
||
|
wsproxy = {
|
||
|
login.username = "senseab";
|
||
|
login.registry = "ghcr.io";
|
||
|
login.passwordFile = "/var/lib/secrets/podman/ghcr.io"; # should create it manually.
|
||
|
image = "ghcr.io/senseab/wsproxy:master";
|
||
|
autoStart = true;
|
||
|
|
||
|
environment = {
|
||
|
CONFIG_NO_TLS_VERIFY = "true";
|
||
|
CONFIG_ADDR = "wss://dev.wetofu.me/path";
|
||
|
WSPROXY_MODE = "client";
|
||
|
};
|
||
|
|
||
|
ports = [
|
||
|
"127.0.0.1:1089:1089"
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|