Apparently solr is right in the base dir?

This commit is contained in:
niten 2023-10-11 23:00:28 -07:00
parent 607904b451
commit 56078da9c7
2 changed files with 1 additions and 5 deletions

View File

@ -237,7 +237,7 @@ in {
serviceConfig = { serviceConfig = {
ExecStart = "${pkgs.curl}/bin/curl http://${cfg.solr.host}:${ ExecStart = "${pkgs.curl}/bin/curl http://${cfg.solr.host}:${
toString cfg.solr.port toString cfg.solr.port
}/solr/dovecot/update?${params}"; }/?${params}";
PrivateDevices = true; PrivateDevices = true;
PrivateTmp = true; PrivateTmp = true;
PrivateMounts = true; PrivateMounts = true;

View File

@ -203,9 +203,6 @@ in {
}; };
}; };
# FIXME: verify solr then kill this
networking.firewall.allowedTCPPorts = [ 8983 ];
fudo.secrets.host-secrets."${hostname}" = { fudo.secrets.host-secrets."${hostname}" = {
mailLdapProxyEnv = { mailLdapProxyEnv = {
source-file = pkgs.writeText "ldap-proxy.env" '' source-file = pkgs.writeText "ldap-proxy.env" ''
@ -405,7 +402,6 @@ in {
networks = [ "solr_network" ]; networks = [ "solr_network" ];
volumes = volumes =
[ "${cfg.state-directory}/solr:/opt/solr/server/solr/dovecot" ]; [ "${cfg.state-directory}/solr:/opt/solr/server/solr/dovecot" ];
ports = [ "8983:8983" ];
}; };
antispam = { antispam = {
service = { service = {