Coder Social home page Coder Social logo

Comments (4)

ajeje93 avatar ajeje93 commented on August 17, 2024

It seems like you have something already running on port 3000, you can specify another port for the container in the ports section of docker-compose.yml.

You can find more info about port bindings for docker compose in the official documentation: https://docs.docker.com/compose/networking/

I'll close this issue for now as it's not related to the container itself.

from grafana-mongodb-docker.

RadioOperator avatar RadioOperator commented on August 17, 2024

@ajeje93 Thanks. After I changed the port no to 3030:3030 from 3000:3000, the container of grafana-mongodb-docker_prod_1 is running.
But in Grafana dashboard, I cannot find the new Data Source, please help me again.

from grafana-mongodb-docker.

ajeje93 avatar ajeje93 commented on August 17, 2024

If you changed the port to 3030 you should access Grafana from that port. The container has both Grafana and the data source plugin inside.

I think you should change the port to something like 3030:3000 to map the port 3000 of the container (that is the Grafana port inside the container) to port 3030 of your PC, the access Grafana from http://localhost:3030.

from grafana-mongodb-docker.

RadioOperator avatar RadioOperator commented on August 17, 2024

@ajeje93 thanks. Got it!
the Grafana on http://localhost:3030.
and the data source on http://localhost:3000.

from grafana-mongodb-docker.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.