Comments (4)
If you look at the last couple of lines you can see that there is an error when the Vizceral backend service tries to communicate with Elasticsearch. What services do you see if you type docker ps
?
from cinnamon-ui.
vizceral araki$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
fa5498888161 lightbend-docker-registry.bintray.io/cinnamon/cinnamon-vizceral-frontend:0.1 "npm run dev" 17 minutes ago Up 17 minutes 0.0.0.0:8080->8080/tcp vizceral_web_1
2ecf12bf3462 lightbend-docker-registry.bintray.io/cinnamon/cinnamon-vizceral:0.1 "bin/cinnamon-vizc..." 17 minutes ago Up 17 minutes 0.0.0.0:8999->8999/tcp vizceral_backend_1
vizceral araki$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
lightbend-docker-registry.bintray.io/cinnamon/cinnamon-vizceral 0.1 f730cb81ef5f 5 weeks ago 886MB
lightbend-docker-registry.bintray.io/cinnamon/cinnamon-vizceral-frontend 0.1 c86233ec8748 5 weeks ago 344MB
docker.elastic.co/elasticsearch/elasticsearch 5.6.3 865b21b970de 8 weeks ago 657MB
from cinnamon-ui.
vizceral araki$ docker exec -it 2ecf12bf3462 bash
daemon@2ecf12bf3462:/opt/docker$ vi conf/application.conf
bash: vi: command not found
daemon@2ecf12bf3462:/opt/docker$ cat conf/application.conf
# https://www.playframework.com/documentation/latest/Configuration
# Disables the security filters to enable the Vizceral javascript functionality
play.filters.enabled=[]
play.http.secret.key="cinviz"
# Run this process on a non-default port to not collide with other Play apps
play.server.http.port = 8999
cinnamon-vizceral {
data-backend {
frequency = 10 seconds
}
elasticsearch-backend {
host = "elasticsearch" // Maybe this!
port = 9200
retrieval-window = 30s // should have format xs, xm, xh, etc. where x is a number 1-n.
max-size = 1000
max-retry-timeout-millis = 10000
user = "elastic"
password = "changeme"
}
}
daemon@2ecf12bf3462:/opt/docker$ sed -i -e "s/elasticsearch/localhost/" conf/application.conf
from cinnamon-ui.
@applideveloper according to docker ps
, your elasticsearch and kibana instances are not running. Verify that your cinnamon
docker network is created with docker network ls
, then run the following:
-
start elasticsearch container (-d for daemon mode)
docker container run -d -p 9200:9200 -p 9300:9300 --name elasticsearch --network cinnamon elasticsearch:5.6.3
-
check container logs for elasticsearch container to ensure it started OK
docker logs elasticsearch
with elasticsearch running on the cinnamon network, all the other containers on the cinnamon network will be able to communicate with it using the network alias elasticsearch
on port 9200 and 9300.
I have a feeling your elasticsearch container failed to start OK. good luck! and let me know if your issues persist. I'm about to start working with this project myself.
from cinnamon-ui.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cinnamon-ui.