项目作者: LMelker

项目描述 :
Jira Sandbox environment on Docker.
高级语言:
项目地址: git://github.com/LMelker/Jira-Sandbox-Environment.git
创建时间: 2020-11-20T06:56:44Z
项目社区:https://github.com/LMelker/Jira-Sandbox-Environment

开源协议:

下载


Jira Sandbox Environment

Pre-conf

You need to add this hosts in your “hosts”-file:

  1. # Docker Jira Sandbox
  2. 127.0.0.1 jira.internal
  3. 127.0.0.1 pgadmin.internal
  4. 127.0.0.1 nodered.internal
  5. 127.0.0.1 grafana.internal
  6. 127.0.0.1 prometheus.internal

If you are’t able to edit the “hosts”-file, use the ports..

App Url
jira http://localhost:8080
pgadmin http://localhost:5050
nodered http://localhost:1880
grafana http://localhost:3000
prometheus http://localhost:9090

Startup

  1. docker-compose up -d

Update

  1. docker-compose pull

Easy test of REST API…

Use NodeRed (http://nodered.internal) for mockups of your work / testing.
For example:

  • Add “palette” for SMTP, so Jira can send mail
  • Add “palette” for Dashboard, and show the status from JVM.
    (To easy view JVM: add jolokia-plugin for Jira.)

Monitoring Jira…

Use Prometheus to pick up data every 15sec from Jira.
Use Grafana to view the data that Prometheus picks up

Setup Grafana

  • Go to: http://grafana.internal
  • Login with: admin/admin
  • Update the password.
  • Pointout Prometheus as a Data Source
    • left side menu: Configuration / Data Sources
    • Add Prometheus
    • Press: Save & test

Setup Prometheus

  • In Jira: add the addon: “Prometheus Exporter For Jira”
    • Go to the settings of Prometheus:
      • /secure/PromForJiraSecureTokenConfigAction!default.jspa
    • Generate a Token!
  • Edit the: prometheus.yml
    • add the token from Jira
    • restart Prometheus container

License

MIT