1 ### Docker Setup for Single instance of MUSIC
3 <p>Please update the <b>properties/music.properties</b> file to fit your env.<br/>
4 Update the music.sh file.<br/>
5 The beginning of the <b>music.sh</b> file contains various variables.<br/></p>
6 NEXUS_DOCKER_REPO - default REPO - Will read /opt/config/nexus_docker_repo.txt if other is needed.<br/>
7 CASS_IMG - Cassandra Image<br/>
8 TOMCAT_IMG - Tomcat Image<br/>
9 ZK_IMG - Zookeeper Image<br/>
10 MUSIC_IMG - Music Image containing the MUSIC war file.<br/>
11 WORK_DIR - Default to PWD.<br/>
12 CASS_USERNAME - Username for Cassandra - should match cassandra.user in music.properties
14 CASS_PASSWORD - Password for Cassandra - should match cassandra.password in music.properties.<br/>
16 MUSIC Logs will be saved in logs/MUSIC after start of tomcat.<br/>
25 If you want to check out Cassandra db with cqlsh.
27 docker exec –it music-db bash
28 #at the prompt youcan run cqlsh as:
29 cqlsh –u <user> -p <password>
35 docker exec –it music-zk bash
40 For other logs do <br/>
42 docker logs music-tomcat (tomcat)<br/>
44 to have rolling logs use –f as docker logs –f music-tomcat<br/>
46 docker logs music-zk (zookeeper)<br/>
47 docker logs music-db (Cassandra )<br/>