-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
msb3399
committed
Jul 11, 2017
1 parent
49ec905
commit b999347
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
SensSoft Docker Containers and Website | ||
-------------------------------------- | ||
|
||
Specific build instructions located in docker and site folders. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
How to Build Docker Containers | ||
------------------------------ | ||
|
||
1. Install [``Docker``](http://docker.com) | ||
2. Install ``docker-compose``. | ||
``` | ||
$ mkdir env | ||
$ virtualenv env | ||
$ source env/bin/activate | ||
$ pip install -e .[docker] | ||
``` | ||
3. Build and run all ``Docker`` containers. | ||
``` | ||
$ docker-compose up -d | ||
``` | ||
4. Run a specific ``Docker`` container. | ||
``` | ||
$ docker-compose up -d site | ||
# Note: site container is instrumented w/ userale; all userale logs will be sent to the | ||
# elasticsearch docker container. | ||
``` | ||
5. Verify the deployment by navigating to ``Kibana`` in your favorite browser. | ||
```sh | ||
http://localhost:5601 | ||
``` | ||
|
||
6. Stop all the containers. | ||
```sh | ||
$ docker-compose stop | ||
``` |