Enable gitlab runner monitoring
This commit is contained in:
		
							parent
							
								
									5d8b4e96b2
								
							
						
					
					
						commit
						a813ea6561
					
				| @ -40,8 +40,8 @@ | |||||||
|   systemd.services.gitlab-runner.serviceConfig.DynamicUser = lib.mkForce false; |   systemd.services.gitlab-runner.serviceConfig.DynamicUser = lib.mkForce false; | ||||||
|   systemd.services.gitlab-runner.serviceConfig.User = "gitlab-runner"; |   systemd.services.gitlab-runner.serviceConfig.User = "gitlab-runner"; | ||||||
|   systemd.services.gitlab-runner.serviceConfig.Group = "gitlab-runner"; |   systemd.services.gitlab-runner.serviceConfig.Group = "gitlab-runner"; | ||||||
|   #systemd.services.gitlab-runner.serviceConfig.ExecStart = lib.mkForce |   systemd.services.gitlab-runner.serviceConfig.ExecStart = lib.mkForce | ||||||
|   #  ''${pkgs.gitlab-runner}/bin/gitlab-runner --debug run --config ''${HOME}/.gitlab-runner/config.toml --working-directory ''${HOME}''; |     ''${pkgs.gitlab-runner}/bin/gitlab-runner --debug run --config ''${HOME}/.gitlab-runner/config.toml --listen-address "127.0.0.1:9252" --working-directory ''${HOME}''; | ||||||
| 
 | 
 | ||||||
|   # TODO https://docs.gitlab.com/runner/configuration/proxy.html |   # TODO https://docs.gitlab.com/runner/configuration/proxy.html | ||||||
|   #systemd.services.docker.environment = { |   #systemd.services.docker.environment = { | ||||||
|  | |||||||
| @ -42,6 +42,7 @@ | |||||||
|             "127.0.0.1:${toString config.services.prometheus.exporters.node.port}" |             "127.0.0.1:${toString config.services.prometheus.exporters.node.port}" | ||||||
|             "127.0.0.1:${toString config.services.prometheus.exporters.ipmi.port}" |             "127.0.0.1:${toString config.services.prometheus.exporters.ipmi.port}" | ||||||
|             "127.0.0.1:9323" |             "127.0.0.1:9323" | ||||||
|  |             "127.0.0.1:9252" | ||||||
|           ]; |           ]; | ||||||
|         }]; |         }]; | ||||||
|       } |       } | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user