Skip to content

A program that uses docker to perform chaos tests on applications

Notifications You must be signed in to change notification settings

sparth99/chaos-monkey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

chaos-monkey

A program that uses docker VM to perform on chaos tests on applications

Create DB called chaosmonkey to store Logs and Jobs

psql postgres -U <user>
CREATE DATABASE chaosmonkey;

Build Docker Image

docker build -t chaos .

Run Docker Container

docker run -it -p 8080:5000 chaos 

Sample Docker File: Flask Application

FROM python:3
ADD . /src
RUN apt-get update

RUN apt-get -y install libboost-all-dev
RUN apt-get -y install libgmp-dev
RUN apt-get -y install vim
RUN apt-get -y install tmux 
RUN apt-get install stress

RUN pip install --upgrade pip

RUN pip install requests
RUN pip install Flask
RUN pip install Flask-SQLAlchemy
RUN pip install SQLAlchemy
RUN pip install pymysql
RUN pip install flask_cors

EXPOSE 5000
WORKDIR /src
CMD bash

About

A program that uses docker to perform chaos tests on applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published