meow
This commit is contained in:
parent
5bc41085e5
commit
995671dd46
1 changed files with 25 additions and 7 deletions
|
|
@ -83,7 +83,7 @@ in
|
||||||
environmentFiles = [
|
environmentFiles = [
|
||||||
config.age.secrets.ds9PostgresEnv.path
|
config.age.secrets.ds9PostgresEnv.path
|
||||||
];
|
];
|
||||||
ports = [ "5432:5432"];
|
ports = [ "5432:5432" ];
|
||||||
volumes = [
|
volumes = [
|
||||||
"${postgres-multi-db}:/docker-entrypoint-initdb.d/create-multiple-postgresql-databases.sh"
|
"${postgres-multi-db}:/docker-entrypoint-initdb.d/create-multiple-postgresql-databases.sh"
|
||||||
"postgres:/var/lib/postgresql/data"
|
"postgres:/var/lib/postgresql/data"
|
||||||
|
|
@ -199,7 +199,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.oci-containers.containers.changedetection = {
|
virtualisation.oci-containers.containers.changedetection = {
|
||||||
image = "dgtlmoon/changedetection.io";
|
image = "ghcr.io/dgtlmoon/changedetection.io";
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
"--network=podman"
|
"--network=podman"
|
||||||
"--network=cd-net"
|
"--network=cd-net"
|
||||||
|
|
@ -207,6 +207,24 @@ in
|
||||||
volumes = [
|
volumes = [
|
||||||
"changedetection-data:/datastore"
|
"changedetection-data:/datastore"
|
||||||
];
|
];
|
||||||
|
environment = {
|
||||||
|
PLAYWRIGHT_DRIVER_URL = "ws://changedetection-chrome:3000";
|
||||||
|
HIDE_REFERER = "true";
|
||||||
|
USE_X_SETTINGS = "1";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
virtualisation.oci-containers.containers.changedetection-chrome = {
|
||||||
|
image = "dgtlmoon/sockpuppetbrowser:latest";
|
||||||
|
extraOptions = [
|
||||||
|
"--network=podman"
|
||||||
|
"--network=cd-net"
|
||||||
|
];
|
||||||
|
environment = {
|
||||||
|
SCREEN_WIDTH = "1920";
|
||||||
|
SCREEN_HEIGHT = "1024";
|
||||||
|
SCREEN_DEPTH = "16";
|
||||||
|
MAX_CONCURRENT_CHROME_PROCESSES = "10";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.interfaces."podman0".allowedTCPPorts = [ 9090 ];
|
networking.firewall.interfaces."podman0".allowedTCPPorts = [ 9090 ];
|
||||||
|
|
@ -344,11 +362,11 @@ in
|
||||||
extraOptions = [ "--network=podman" ];
|
extraOptions = [ "--network=podman" ];
|
||||||
volumes =
|
volumes =
|
||||||
let
|
let
|
||||||
fonts = pkgs.runCommandNoCC "labello-fonts" {} ''
|
fonts = pkgs.runCommandNoCC "labello-fonts" { } ''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
cp ${pkgs.roboto}/share/fonts/truetype/* $out
|
cp ${pkgs.roboto}/share/fonts/truetype/* $out
|
||||||
cp ${pkgs.roboto-mono}/share/fonts/truetype/* $out
|
cp ${pkgs.roboto-mono}/share/fonts/truetype/* $out
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
[
|
[
|
||||||
"${fonts}:/opt/labello/fonts"
|
"${fonts}:/opt/labello/fonts"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue