Giter VIP home page Giter VIP logo

Comments (3)

lhanson avatar lhanson commented on May 18, 2024 2

I "could" make all services be an array in the config.yml file, but then where would you keep the data for service response logs?

@hunterlong Ideally one would be able to declaratively configure services at startup and then statping would store the data in whatever database backend is in use. Unless I'm missing something, the only way I see to spin up a fully-configured instance of statping is to provision the infrastructure and then manually click around the interface setting up services.

I want to be able to be able to fully declare my statping instance using something like Terraform or Docker Compose, have the services version controlled, and have it begin tracking service data immediately without requiring my manual intervention each time it starts up in a new environment. I'd be happy to create a new issue if this isn't already covered.

from statping.

hunterlong avatar hunterlong commented on May 18, 2024

Hey @ashwajce , You can have a .env environment file that will overwrite variables from config.yml. I've included a section in the wiki under ENV Config File. I "could" make all services be an array in the config.yml file, but then where would you keep the data for service response logs?

You should mount the config.yml into each container, use .env file, or just insert the environment variables in the container. Statup will check for DB_CONN, if that's set, then it will force you to use the other database environment variables. (overwriting anything in config.yml file)

from statping.

ashwajce avatar ashwajce commented on May 18, 2024

Thanks @hunterlong this is helpful!

from statping.

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.