Apparently solr is right in the base dir?
This commit is contained in:
parent
607904b451
commit
56078da9c7
@ -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;
|
||||||
|
@ -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 = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user