rpi3-configurations/global/containers.nix

49 lines
1019 B
Nix
Raw Normal View History

2023-07-18 13:52:59 +00:00
{
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 = [
"1089:1089"
];
};
2023-07-23 01:38:05 +00:00
/*
zeronet = {
2023-07-18 13:52:59 +00:00
autoStart = true;
dependsOn = [ "wsproxy" ];
image = "supersandro2000/zeronet";
ports = [
2023-07-23 01:38:05 +00:00
"26552:26552"
"43110:43110"
2023-07-18 13:52:59 +00:00
];
environment = {
2023-07-23 01:38:05 +00:00
ENABLE_TOR = "false";
UI_PASSWORD = "12345678";
2023-07-18 13:52:59 +00:00
};
volumes = [
2023-07-23 01:38:05 +00:00
"/var/lib/zeronet:/root/data"
2023-07-18 13:52:59 +00:00
];
2023-07-23 01:38:05 +00:00
};
*/
2023-07-18 13:52:59 +00:00
};
};
}