karhu

command module
v0.0.0-...-558f87b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2016 License: GPL-2.0 Imports: 8 Imported by: 0

README

Karhu

Karhu is a deployment management and infrastructure tool, designed to be simple to configure & use.

Features

  • Application deployment (custom, services, Docker)
  • Build and deployment history
  • Application configuration
  • Server registration (custom, EC2, DigitalOcean)
  • Monitoring (Collectd)
  • Alerts (nagios)
  • Logs searching (Logstash / ElasticSearch)

Requirements

  • Docker 1.9.1+
  • Any modern Linux distribution that supports Docker 1.9.1+.
  • RAM: 1GB+

Running Karhu with Docker

/!\ WARNING this is a very early preview of Karhu, database may change, future release may be incompatible with previous ones. We are currently working on testing this, and figure out what is OK and what have to change. Feel free to open an issue :) <3 :love:

docker-compose.yml

mongo:
   hostname: mongo
   image: mongo
   restart: always

elasticsearch:
    hostname: elasticsearch
    image: elasticsearch
    restart: always

logstash:
    hostname: logstash
    image: maxwayt/karhu-logstash
    restart: always
    ports:
    - "5044:5044"
    - "25826:25826/udp"
    links:
    - "elasticsearch:elasticsearch"

karhu:
    hostname: karhu
    image: maxwayt/karhu
    restart: always
    links:
    - "mongo:mongo"
    - "elasticsearch:elasticsearch"
    volumes_from:
    - "logstash"
    ports:
    - "80:8080"
    environment:
    - MGO_HOSTS=mongo
    - MGO_DB=karhu
    - STORAGE_DRIVER=fs
    - STORAGE_PATH=/data
    - PUBLIC_HOST=http://your-karhu-host.com
    - INFLUXDB_COLLECTD_HOST=your-karhu-host.com
    - INFLUXDB_COLLECTD_PORT=25826
    - LOGSTASH_IP=you-karhu-ip
    - ES_HOST=http://elasticsearch:9200
    - EMAIL_PROVIDER=mailgun
    - MAILGUN_DOMAIN=your-domain
    - MAILGUN_APIKEY=your-key

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
This file is named 0mongo.go to have its init() run before the others It's kind of sad, but will be ok until we have a new solution
This file is named 0mongo.go to have its init() run before the others It's kind of sad, but will be ok until we have a new solution
ssh

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL