ADD docker directory

ADD whoogle service and add service to atlanticaweb server
FIX i3 config : launch guake and remove alacritty
main
Alexandre LUCAZEAU 2022-10-19 20:12:36 +02:00
parent 553d476b36
commit 393efdc189
No known key found for this signature in database
GPG Key ID: 3C8ADB07A8217BD3
4 changed files with 24 additions and 1 deletions

20
docker/whoogle.nix Normal file
View File

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

View File

@ -12,6 +12,7 @@
./services.nix
./packages.nix
../modules/prometheus-node.nix
./appsmith.nix
];
# Use the systemd-boot EFI boot loader.

View File

@ -147,7 +147,6 @@ exec --no-startup-id sublime-music
exec --no-startup-id guake
exec --no-startup-id i3-msg 'workspace $ws9; exec keepassxc;'
#exec --no-startup-id i3-msg 'workspace $ws5; exec emacs;'
exec --no-startup-id i3-msg 'workspace $ws1; exec alacritty;'
exec --no-startup-id i3-msg 'workspace $ws1; exec ferdi;'
exec --no-startup-id i3-msg 'workspace $ws2; exec thunderbird;'
exec --no-startup-id i3-msg 'workspace $ws3; exec firefox;'

View File

@ -16,6 +16,9 @@ in
encode gzip
reverse_proxy http://localhost:3001
}
https://search.atlanticaweb.fr {
reverse_proxy http://localhost:5000
}
atlanticaweb.fr {
root * /srv/www/atlanticaweb.fr
encode gzip zstd