executable_monitoror 548 B

1234567891011121314151617
  1. #!/bin/sh
  2. case "$1" in
  3. run)
  4. docker run --volume "$PWD":/mnt \
  5. --detach \
  6. --name monitoror \
  7. --network=host \
  8. -e MO_MONITORABLE_JENKINS_URL=http://localhost:8090 \
  9. -e MO_MONITORABLE_JENKINS_LOGIN=admin \
  10. -e MO_MONITORABLE_JENKINS_TOKEN="$(pass show jenkins.wugi.info/token-admin)" \
  11. -e MO_MONITORABLE_GITLAB_TOKEN="$(pass show gitlab.com/tokens/wigust)" \
  12. -e MO_PORT=27375 \
  13. monitoror
  14. ;;
  15. esac