Permalink
Browse files

Added docker compose implementation

  • Loading branch information...
email2vimalraj committed Jul 21, 2017
1 parent 117a300 commit e686a0b65a37f9bcfaf1ef86f052c95360cfceb7
Showing with 11 additions and 22 deletions.
  1. +5 −16 README.md
  2. +6 −6 docker-compose.yml
@@ -1,21 +1,10 @@
This repository contains **Dockerfile** of [ExtentX](https://github.com/anshooarora/extentx).
A docker implementation of [ExtentX](https://github.com/anshooarora/extentx).
## Installation
1. Install [Docker](https://www.docker.com/)
2. Pull the **mongo** image from the docker hub: `docker pull mongo`
3. Pull the **extentx** image from the docker hub: `docker pull email2vimalraj/extentx`
## Usage
### Run Mongo server
```bash
docker run -p 27017:27017 -d --name extent-mongo mongo
```
### Run ExtentX
```bash
docker run --link extent-mongo:mongodb --name extent-app -p 1337:1337 -d email2vimalraj/extentx
```
1. Clone this repository
2. Install [Docker](https://www.docker.com/) with Docker Compose
3. Run `docker-compose up -d` from the cloned directory
Goto [http://localhost:1337](http://localhost:1337) in your browser to view the extentx dashboard.
**P.S**: Hit **Star** button if you found this useful.
**P.S**: Hit **Star** button if you found this useful.
@@ -1,13 +1,13 @@
extentx:
image:
build: .
environment:
- MONGODB_PORT_27017_TCP_ADDR=mongo
links:
- mongo:mongo
ports:
-
- 1337:1337
mongo:
image:
image: mongo
ports:
-
volumes:
- /var/lib/mysql
- 27017:27017

0 comments on commit e686a0b

Please sign in to comment.