trying to fix git
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
{ pkgs, config, lokiPort ? 3100, ... }:
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
config.services.loki.configuration.server.http_listen_port
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
(pkgs.writeShellScriptBin "loki-check" "curl http://localhost:${builtins.toString lokiPort}/ready")
|
||||
(pkgs.writeShellScriptBin "loki-check" ''
|
||||
curl http://localhost:${config.services.loki.configuration.server.http_listen_port}/ready
|
||||
'')
|
||||
(pkgs.writeShellScriptBin "loki-logs" "journalctl -b -u loki.service -n 10")
|
||||
];
|
||||
|
||||
@@ -14,7 +16,7 @@
|
||||
user = "loki";
|
||||
|
||||
configuration = {
|
||||
server.http_listen_port = lokiPort;
|
||||
server.http_listen_port = 3100;
|
||||
# server.grpc_listen_port = 9096;
|
||||
auth_enabled = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user