HotRod is an opinionated 'Platform' for analytics. It contains the building blocks and automation to enable running logging as a PaaS.
It is under heavy development, please contact firstname.lastname@example.org for assistance.
Install docker-machine (see https://docs.docker.com/machine/)
Install docker-compose (see https://docs.docker.com/compose/)
Install Panoptix Mini Templates
git clone https://github.com/panoptix-za/mini-templates.git sudo cp mini-templates/mini.py /usr/local/bin
git clone https://github.com/panoptix-za/HotRod.git cd HotRod
Create a docker-machine based server
ams3as appropriate below.
export DIGITALOCEAN_ACCESS_TOKEN=my_api_token export DIGITALOCEAN_REGION=ams3 export DIGITALOCEAN_SIZE=8gb ./bin/do_machine.sh create myhotrodserver Hotrod
This will create a server with the default project named
Hotrod. The project should be unique for each Hotrod instance.
To view your machine run:
mini.pyin the HotRod directory
Run the install apps script:
./hotrod init, ensuring that the Project Name specified when building the machine is the same as the one entered during the prompting process. If you have done this correctly, the IP address of your machine should appear in the prompt that follows.
Do something custom
There is a special folder called
local. Add you docker-compose files there to your hearts content. Look at the dc-elk.yml.orig.tpl file for examples. The labels, etc should be used too.
- If you place 'once' in the name of the dc-*.yml file (Docker Compose) then it will only be executed once.
The MIT License (MIT)
Copyright (c) Panoptix CC
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN