Compare commits

..

2 commits

Author SHA1 Message Date
dda4d57199 ensure latest qbittorrent 2024-11-02 20:42:59 -04:00
b4c195fe55 docker image zwave for now 2024-11-02 20:41:30 -04:00
2 changed files with 20 additions and 18 deletions

View file

@ -4,7 +4,7 @@
podman.enable = true;
oci-containers.containers = {
qbittorrent = {
image = "lscr.io/linuxserver/qbittorrent";
image = "lscr.io/linuxserver/qbittorrent:latest";
volumes = [
"qbittorrent-config:/config"
"/video-data/torrent:/data/torrent"

View file

@ -5,23 +5,24 @@
podman.enable = true;
oci-containers.containers = {
zwave-js-ui = {
image = "my-zwave-js-ui:latest";
imageFile = pkgs.dockerTools.buildLayeredImage {
name = "my-zwave-js-ui";
tag = "latest";
contents = [
pkgs.cacert
pkgs.busybox
];
config = {
Cmd = [ "${inputs.self.packages.${pkgs.stdenv.system}.zwave-js-ui}/bin/zwave-js-ui" ];
Env = [
"STORE_DIR=/usr/src/app/store"
"ZWAVEJS_EXTERNAL_CONFIG=/usr/src/app/store/.config-db"
"SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
];
};
};
image = "zwavejs/zwave-js-ui:latest";
# image = "my-zwave-js-ui:latest";
# imageFile = pkgs.dockerTools.buildLayeredImage {
# name = "my-zwave-js-ui";
# tag = "latest";
# contents = [
# pkgs.cacert
# pkgs.busybox
# ];
# config = {
# Cmd = [ "${inputs.self.packages.${pkgs.stdenv.system}.zwave-js-ui}/bin/zwave-js-ui" ];
# Env = [
# "STORE_DIR=/usr/src/app/store"
# "ZWAVEJS_EXTERNAL_CONFIG=/usr/src/app/store/.config-db"
# "SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
# ];
# };
# };
volumes = [ "zwave-config:/usr/src/app/store" ];
environment = {
TZ = "America/New_York";
@ -33,6 +34,7 @@
};
extraOptions = [
"--network=www"
"--pull=newer"
"--device=/dev/ttyACM0:/dev/zwave"
];
};