ADD appsmith docker service

main
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, ... }:
let
host = "atlanticaweb.fr";
host = "search.atlanticaweb.fr";
in
{
virtualisation = {
@ -8,12 +8,12 @@ in
enable = true;
dockerCompat = true;
};
whoogle = {
oci-containers = {
backend = "podman";
containers.whoogle-search = {
image = "benbusby/whoogle-search";
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/common.nix
../modules/users.nix
../docker/whoogle.nix
../docker/appsmith.nix
];
system.stateVersion = "21.11";