ADD appsmith docker service

This commit is contained in:
Alexandre LUCAZEAU 2022-10-19 19:07:02 +00:00
parent 393efdc189
commit 7385ec4edb
3 changed files with 25 additions and 3 deletions

20
docker/appsmith.nix Normal file
View File

@ -0,0 +1,20 @@
{ config, pkgs, ... }:
let
host = "search.atlanticaweb.fr";
in
{
virtualisation = {
podman = {
enable = true;
dockerCompat = true;
};
oci-containers = {
backend = "podman";
containers.appsmith-ce = {
image = "appsmith/appsmith-ce";
autoStart = true;
ports = [ "5002:80" ]; #server locahost : docker localhost
};
};
};
}

View File

@ -1,6 +1,6 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let let
host = "atlanticaweb.fr"; host = "search.atlanticaweb.fr";
in in
{ {
virtualisation = { virtualisation = {
@ -8,12 +8,12 @@ in
enable = true; enable = true;
dockerCompat = true; dockerCompat = true;
}; };
whoogle = { oci-containers = {
backend = "podman"; backend = "podman";
containers.whoogle-search = { containers.whoogle-search = {
image = "benbusby/whoogle-search"; image = "benbusby/whoogle-search";
autoStart = true; autoStart = true;
ports = [ "5000:5000" ]; #server locahost : docker localhost ports = [ "5001:5000" ]; #server locahost : docker localhost
}; };
}; };
}; };

View File

@ -7,6 +7,8 @@
../modules/prometheus-node.nix ../modules/prometheus-node.nix
../modules/common.nix ../modules/common.nix
../modules/users.nix ../modules/users.nix
../docker/whoogle.nix
../docker/appsmith.nix
]; ];
system.stateVersion = "21.11"; system.stateVersion = "21.11";