Giter Club home page Giter Club logo

Comments (15)

stefanprodan avatar stefanprodan commented on May 5, 2024

I'm guessing you want to view alerts and be able to silence them, as for Prometheus you can monitor the targets, write queries and more. I will update the project and I'll include a reverse proxy with basic auth for those two.

from dockprom.

stefanprodan avatar stefanprodan commented on May 5, 2024

@pascalandy I've added the reverse proxy with basic auth, can you please test it out?

from dockprom.

pascalandy avatar pascalandy commented on May 5, 2024

On it.

from dockprom.

pascalandy avatar pascalandy commented on May 5, 2024

Cannot start compose.

root@vps01:~/dockprom# docker-compose up -d
ERROR: Invalid interpolation format for "environment" option in service "caddy": "ADMIN_USER=${ADMIN_USER:-admin}"

from dockprom.

stefanprodan avatar stefanprodan commented on May 5, 2024

Looks like inline defaults are supported in compose 2.1, should work now.

from dockprom.

pascalandy avatar pascalandy commented on May 5, 2024

humm

ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a version of "2" (or "2.0") and place your service definitions under the services key, or omit the version key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
Aborting due to errexit on line 26. Exit code: 1

from dockprom.

stefanprodan avatar stefanprodan commented on May 5, 2024

can you please post docker-compose -v

from dockprom.

pascalandy avatar pascalandy commented on May 5, 2024

On 1.8.0 and I see we are now at 1.16.1 !
https://github.com/docker/compose/releases

Compose is not updated along new docker installs? I wasn't aware.

from dockprom.

stefanprodan avatar stefanprodan commented on May 5, 2024

No, compose comes only with Docker for Mac, on linux you have to update via:

curl -L https://github.com/docker/compose/releases/download/1.16.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

from dockprom.

pascalandy avatar pascalandy commented on May 5, 2024

Updated. Compose is running.
EDIT - wip

from dockprom.

stefanprodan avatar stefanprodan commented on May 5, 2024

That's because you are running the older version with alermanager exposing port 9093.

You have to remove the stack with:

docker-compose down -v

And run the new one with:

ADMIN_USER=admin ADMIN_PASSWORD=admin docker-compose up -d

After that your prometheus and alermanager services will require user/pass.

from dockprom.

stefanprodan avatar stefanprodan commented on May 5, 2024

Ok, thanks for testing, I've updated the readme with the minimum required Docker Compose version.

from dockprom.

pascalandy avatar pascalandy commented on May 5, 2024

Sorry for the confusion earlier. I meant, compose is now installed properly.

All the container behave normally. But there is nothing on those 3 ports :-/

  • Prometheus (metrics database) http://:9090
  • AlertManager (alerts management) http://:9093
  • Grafana (visualize metrics) http://:3000

I also run other stuff with traefik and webapps are responding normally.

Also, I'm very happy to help and to test this stack. It's a great one and it will actually help me to get shit/infra together :-p

from dockprom.

stefanprodan avatar stefanprodan commented on May 5, 2024

It was problem with the mount point for Caddy, should work now.

from dockprom.

pascalandy avatar pascalandy commented on May 5, 2024

Yes! This is now solid :)

from dockprom.

Related Issues (20)

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.