diff options
author | Vikram Potturi(apotturi) <apotturi@gmail.com> | 2018-04-09 16:47:50 -0400 |
---|---|---|
committer | Vikram Potturi(apotturi) <apotturi@gmail.com> | 2018-04-09 16:56:47 -0400 |
commit | 587e3d75c651f97b6e11cc61d7159e607c3f0f90 (patch) | |
tree | b98f1ef1ea6c389c58ec6e0801a7aa398c29ee6e /distribution/dockermusic/README.md | |
parent | 0d0e1f6dcf7bb27f5604615772d55b8cc903e9c7 (diff) |
Adding HEAT map information.
Change-Id: I676137f72ab3cf451532c8f8fcfd032f83c31d5b
Issue-ID: MUSIC-63
Signed-off-by: Vikram Potturi(apotturi) <apotturi@gmail.com>
Diffstat (limited to 'distribution/dockermusic/README.md')
-rw-r--r-- | distribution/dockermusic/README.md | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/distribution/dockermusic/README.md b/distribution/dockermusic/README.md index 436921b0..14c108f9 100644 --- a/distribution/dockermusic/README.md +++ b/distribution/dockermusic/README.md @@ -1,8 +1,8 @@ ### Docker Setup for Single instance of MUSIC <p>Please update the <b>properties/music.properties</b> file to fit your env.<br/> -Update the start.sh file.<br/> -The beginning of the <b>start.sh</b> file contains various variables.<br/></p> +Update the music.sh file.<br/> +The beginning of the <b>music.sh</b> file contains various variables.<br/></p> CASS_IMG - Cassandra Image<br/> TOMCAT_IMG - Tomcat Image<br/> @@ -15,3 +15,34 @@ CASS_PASSWORD - Password for Cassandra - should match cassandra.password in musi MUSIC Logs will be saved in logs/MUSIC after start of tomcat.<br/> +```bash +# Start containers +./music.sh start +# Stop containers +./music.sh stop +``` + +If you want to check out Cassandra db with cqlsh. +```bash +docker exec –it music-db bash +#at the prompt youcan run cqlsh as: +cqlsh –u <user> -p <password> +``` + +Zookeeper: + +```bash +docker exec –it music-zk bash +#and then run: +zkCli.sh +``` + +For other logs do <br/> +```bash +docker logs music-tomcat (tomcat)<br/> +``` +to have rolling logs use –f as docker logs –f music-tomcat<br/> +```bash +docker logs music-zk (zookeeper)<br/> +docker logs music-db (Cassandra )<br/> +```
\ No newline at end of file |