Compare commits
No commits in common. "98245da210f89d4d5447d7340c0ec69a581d0b57" and "20949f330006d1ce1151c01f5594952a76fa36d6" have entirely different histories.
98245da210
...
20949f3300
5 changed files with 21 additions and 64 deletions
|
@ -13,17 +13,5 @@
|
||||||
protected-mode = "no";
|
protected-mode = "no";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
searxng = {
|
|
||||||
enable = true;
|
|
||||||
openFirewall = true;
|
|
||||||
port = 6380;
|
|
||||||
bind = null;
|
|
||||||
databases = 16;
|
|
||||||
logLevel = "debug";
|
|
||||||
requirePass = "searxng";
|
|
||||||
settings = {
|
|
||||||
protected-mode = "no";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
rule = "HostSNI(`*`)";
|
rule = "HostSNI(`*`)";
|
||||||
entrypoints = ["gitssh"];
|
entrypoints = ["gitssh"];
|
||||||
service = "gitssh";
|
service = "gitssh";
|
||||||
|
tls.passthrough = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -104,16 +105,8 @@
|
||||||
tls.domains = [{main = "*.flake.sh";}];
|
tls.domains = [{main = "*.flake.sh";}];
|
||||||
tls.certresolver = "production";
|
tls.certresolver = "production";
|
||||||
};
|
};
|
||||||
searxng = {
|
|
||||||
rule = "Host(`search.flake.sh`)";
|
|
||||||
entrypoints = ["websecure"];
|
|
||||||
service = "searxng";
|
|
||||||
tls.domains = [{main = "*.flake.sh";}];
|
|
||||||
tls.certresolver = "production";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
gitssh.loadBalancer.servers = [{url = "tcp://100.121.201.47:2222";}];
|
|
||||||
uptime-kuma.loadBalancer.servers = [{url = "http://100.87.54.48:4000";}];
|
uptime-kuma.loadBalancer.servers = [{url = "http://100.87.54.48:4000";}];
|
||||||
gotify.loadBalancer.servers = [{url = "http://100.87.54.48:3000";}];
|
gotify.loadBalancer.servers = [{url = "http://100.87.54.48:3000";}];
|
||||||
conduit.loadBalancer.servers = [{url = "http://100.121.201.47:6167";}];
|
conduit.loadBalancer.servers = [{url = "http://100.121.201.47:6167";}];
|
||||||
|
@ -124,7 +117,7 @@
|
||||||
grafana.loadBalancer.servers = [{url = "http://100.121.201.47:3100";}];
|
grafana.loadBalancer.servers = [{url = "http://100.121.201.47:3100";}];
|
||||||
hedgedoc.loadBalancer.servers = [{url = "http://100.121.201.47:3300";}];
|
hedgedoc.loadBalancer.servers = [{url = "http://100.121.201.47:3300";}];
|
||||||
vaultwarden.loadBalancer.servers = [{url = "http://100.121.201.47:8222";}];
|
vaultwarden.loadBalancer.servers = [{url = "http://100.121.201.47:8222";}];
|
||||||
searxng.loadBalancer.servers = [{url = "http://100.110.140.130:8100";}];
|
gitssh.loadBalancer.servers = [{url = "tcp://100.121.201.47:2222";}];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,43 +1,14 @@
|
||||||
{
|
_: {
|
||||||
pkgs,
|
virtualisation.oci-containers.containers.searxng = {
|
||||||
config,
|
image = "searxng/searxng:2023.6.10-5f11155c";
|
||||||
...
|
volumes = [
|
||||||
}: {
|
"/home/notoh/docker/searxng:/etc/searxng:rw"
|
||||||
sops.secrets.searxng-secret = {};
|
];
|
||||||
networking.firewall.allowedTCPPorts = [8100];
|
environment = {
|
||||||
services.searx = {
|
INSTANCE_NAME = "SearXNG";
|
||||||
package = pkgs.searxng;
|
|
||||||
enable = true;
|
|
||||||
environmentFile = config.sops.secrets.searxng-secret.path;
|
|
||||||
settings = {
|
|
||||||
general = {
|
|
||||||
debug = false;
|
|
||||||
instance_name = "SearXNG flake.sh";
|
|
||||||
enable_metrics = false;
|
|
||||||
contact_url = "mailto:contact@notohh.dev";
|
|
||||||
};
|
|
||||||
ui = {
|
|
||||||
default_theme = "simple";
|
|
||||||
theme_args = {
|
|
||||||
simple_style = "dark";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
search = {
|
|
||||||
autocomplete = "google";
|
|
||||||
safe_search = 0;
|
|
||||||
default_lang = "en-US";
|
|
||||||
};
|
|
||||||
server = {
|
|
||||||
port = 8100;
|
|
||||||
bind_address = "0.0.0.0";
|
|
||||||
secret_key = "@SEARXNG_SECRET@";
|
|
||||||
base_url = "https://search.flake.sh/";
|
|
||||||
public_instance = true;
|
|
||||||
infinite_scroll = true;
|
|
||||||
};
|
|
||||||
redis = {
|
|
||||||
url = "redis://:searxng@100.94.214.100:6380";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
ports = [
|
||||||
|
"8100:8080"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,6 +15,11 @@ _: {
|
||||||
entrypoints = ["web"];
|
entrypoints = ["web"];
|
||||||
service = "homarr";
|
service = "homarr";
|
||||||
};
|
};
|
||||||
|
searxng = {
|
||||||
|
rule = "Host(`searxng.internal.flake.sh`)";
|
||||||
|
entryPoints = ["web"];
|
||||||
|
service = "searxng";
|
||||||
|
};
|
||||||
stash = {
|
stash = {
|
||||||
rule = "Host(`stash.internal.flake.sh`)";
|
rule = "Host(`stash.internal.flake.sh`)";
|
||||||
entrypoints = ["web"];
|
entrypoints = ["web"];
|
||||||
|
@ -40,6 +45,7 @@ _: {
|
||||||
stash.loadBalancer.servers = [{url = "http://localhost:9999";}];
|
stash.loadBalancer.servers = [{url = "http://localhost:9999";}];
|
||||||
homarr.loadBalancer.servers = [{url = "http://localhost:7575";}];
|
homarr.loadBalancer.servers = [{url = "http://localhost:7575";}];
|
||||||
dashdot.loadBalancer.servers = [{url = "http://localhost:4000";}];
|
dashdot.loadBalancer.servers = [{url = "http://localhost:4000";}];
|
||||||
|
searxng.loadBalancer.servers = [{url = "http://localhost:8100";}];
|
||||||
jellyfin.loadBalancer.servers = [{url = "http://localhost:8096";}];
|
jellyfin.loadBalancer.servers = [{url = "http://localhost:8096";}];
|
||||||
jellyseerr.loadBalancer.servers = [{url = "http://localhost:5055";}];
|
jellyseerr.loadBalancer.servers = [{url = "http://localhost:5055";}];
|
||||||
};
|
};
|
||||||
|
|
|
@ -12,7 +12,6 @@ tsauth-sora: ENC[AES256_GCM,data:3jzPB0whb9xHudVl/MhNeCUgjDfzzQpxGJGqfMf2GqEtfEk
|
||||||
tsauth-sakura: ENC[AES256_GCM,data:iN77ArKDnltxrWGCz8bMqMHBAp45oGUk+n5ilAE0tY2rz01PGaCmIgPFSDfNaMphH6gX+AbEd5Y=,iv:k/lBIZW7aKT3u+dgcFnQORah2yHZXAmY+PBv53tM1ao=,tag:9/pebj3D9LURTedqkduoaw==,type:str]
|
tsauth-sakura: ENC[AES256_GCM,data:iN77ArKDnltxrWGCz8bMqMHBAp45oGUk+n5ilAE0tY2rz01PGaCmIgPFSDfNaMphH6gX+AbEd5Y=,iv:k/lBIZW7aKT3u+dgcFnQORah2yHZXAmY+PBv53tM1ao=,tag:9/pebj3D9LURTedqkduoaw==,type:str]
|
||||||
forgejo-runner-token: ENC[AES256_GCM,data:uHwIBG2Ktdhs2nhfbidHSEkv7bwLnWzHZEa01sfnv2oYvtlHdnTXJQ==,iv:IRS+qLbIFl5GXxChogs6yxsUD4MxnjCw2VF3dxCvSnI=,tag:elTaJSO1ex4qrF9Wu8gx2A==,type:str]
|
forgejo-runner-token: ENC[AES256_GCM,data:uHwIBG2Ktdhs2nhfbidHSEkv7bwLnWzHZEa01sfnv2oYvtlHdnTXJQ==,iv:IRS+qLbIFl5GXxChogs6yxsUD4MxnjCw2VF3dxCvSnI=,tag:elTaJSO1ex4qrF9Wu8gx2A==,type:str]
|
||||||
basegbot-runner-token: ENC[AES256_GCM,data:2ZnyRdou8U7SPYgntnzoibxOoQltUCnzXIMVYiPQj9Qfa3vaT6SY6w==,iv:RS66X1ophQDl1Mph0x0yzJb/v1x2o7d5+Z1FJRAXsSA=,tag:4wOI4fHkOGE8r1FsAoy+aw==,type:str]
|
basegbot-runner-token: ENC[AES256_GCM,data:2ZnyRdou8U7SPYgntnzoibxOoQltUCnzXIMVYiPQj9Qfa3vaT6SY6w==,iv:RS66X1ophQDl1Mph0x0yzJb/v1x2o7d5+Z1FJRAXsSA=,tag:4wOI4fHkOGE8r1FsAoy+aw==,type:str]
|
||||||
searxng-secret: ENC[AES256_GCM,data:SSvspQVRp79zJq0hzaqzuJIWFtVUoaqHGH9PXUViiXb9UKJM34t82o2J5K69RcOSBL7HadqmxcT4Eh8e8ZUJnquD7rrPdWb2Ih4zS7MmG94=,iv:wrQNNU7CjzfePNe1tWEXmN30vC0jTp+PtgfI3/XH22g=,tag:QAt/QL846hLLIMLQZUM3mQ==,type:str]
|
|
||||||
sops:
|
sops:
|
||||||
kms: []
|
kms: []
|
||||||
gcp_kms: []
|
gcp_kms: []
|
||||||
|
@ -28,8 +27,8 @@ sops:
|
||||||
YWNQcURKMSs2U0pOa3E0cTdCZ3RnalkKGayA7DBUQS+kn+6OYVBc6oTunF0qeZdt
|
YWNQcURKMSs2U0pOa3E0cTdCZ3RnalkKGayA7DBUQS+kn+6OYVBc6oTunF0qeZdt
|
||||||
5b9DLHgh0HRWFm09XGSOog8K315d93Wzblw1My1/dXeEQX/ryinqUQ==
|
5b9DLHgh0HRWFm09XGSOog8K315d93Wzblw1My1/dXeEQX/ryinqUQ==
|
||||||
-----END AGE ENCRYPTED FILE-----
|
-----END AGE ENCRYPTED FILE-----
|
||||||
lastmodified: "2023-10-10T19:01:17Z"
|
lastmodified: "2023-10-08T03:17:36Z"
|
||||||
mac: ENC[AES256_GCM,data:R+UqQiqRkLfFNcB8M1TkIpCLswnOubHeweTsFrAcwNccPSVHkLZkUnLZet4EiPJwZ3Ss4h66aFeR5bL5Z+MvR99Fr3x2rZusM1FGlPFK2gf0GdpboRq5BsJ93N1yTux5geDqyX502XK3TA1/HruN72Hor7b+9PxVOAkBEdb/MW0=,iv:RS2FMtqxvenTG9GYwlS/L8r2nuDUmkkdscXI+d8KRcY=,tag:pDJY0dSfCxMPS/oHU2yylg==,type:str]
|
mac: ENC[AES256_GCM,data:l+CNLRubxiyHpkI4vf1+/8Uk8iKrAebFrPiMn4Cr5k4uQZAA5dXIdyMkUzxxVo0drlSDC4dBgji+6Cd85nKutfo9oqFCXTOj80ZM/WfUl+Rb0PUpZy7CG1u95y6npu4lD34SNXCspraXFHEE00ziuc70YksGJd2m+gCz7GFY3c8=,iv:7gacwYd0a/c4R3IaCAOUg7kl+Be1N2CFnZiXiBh4PbY=,tag:QPev8mRYUxgXJlOIfQ1QFw==,type:str]
|
||||||
pgp: []
|
pgp: []
|
||||||
unencrypted_suffix: _unencrypted
|
unencrypted_suffix: _unencrypted
|
||||||
version: 3.8.0
|
version: 3.8.0
|
||||||
|
|
Loading…
Reference in a new issue