Redmine: Difference between revisions

From NixOS Wiki
imported>Vater
Created page with "[https://redmine.org/ {{PAGENAME}}] ([[wikipedia:en:{{PAGENAME}}]]) is available as a module. == configuration examples == ==== minimal configuration ==== <syntaxhighli..."
 
imported>Vater
No edit summary
Line 8: Line 8:
</syntaxhighlight>
</syntaxhighlight>
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
#  system.stateVersion = "22.05";
   services.redmine.enable = true;
   services.redmine.enable = true;


Line 18: Line 20:
http://hostName.domain.tld:3000
http://hostName.domain.tld:3000


<!--
==== basic configuration ====
==== basic configuration ====


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
</syntaxhighlight>
</syntaxhighlight>
<syntaxhighlight lang="nix">
#  system.stateVersion = "22.05";
#  networking.hostName = "redmine";
#  networking.domain = "domain.tld";
  services.redmine.enable = true;
  services.nginx.enable = true;
  services.nginx.recommendedProxySettings = true;
  services.nginx.virtualHosts."${config.networking.fqdn}".locations."/" = { proxyPass = "http://127.0.0.1:3000"; };
  services.nginx.recommendedTlsSettings = true;
  security.acme.defaults.email = "acme@${config.networking.domain}";
  security.acme.acceptTerms = true;
  networking.firewall.allowedTCPPorts = [ 80 443 ];
</syntaxhighlight>
<syntaxhighlight lang="nix">
</syntaxhighlight>
https://redmine.domain.tld


-->
<!--
<!--
==== small configuration ====
==== small configuration ====

Revision as of 10:45, 5 November 2022

Redmine (wikipedia:en:Redmine) is available as a module.

configuration examples

minimal configuration

#  system.stateVersion = "22.05";

  services.redmine.enable = true;

  networking.firewall.allowedTCPPorts = [ 3000 ];
unencrypted http (only)

http://hostName.domain.tld:3000

basic configuration

#  system.stateVersion = "22.05";

#  networking.hostName = "redmine";
#  networking.domain = "domain.tld";

  services.redmine.enable = true;

  services.nginx.enable = true;

  services.nginx.recommendedProxySettings = true;
  services.nginx.virtualHosts."${config.networking.fqdn}".locations."/" = { proxyPass = "http://127.0.0.1:3000"; };

  services.nginx.recommendedTlsSettings = true;
  security.acme.defaults.email = "acme@${config.networking.domain}";
  security.acme.acceptTerms = true;

  networking.firewall.allowedTCPPorts = [ 80 443 ];

https://redmine.domain.tld