Giter Site home page Giter Site logo

Comments (7)

pierreozoux avatar pierreozoux commented on May 19, 2024 1

@vfbsilva If you have already any work related to k8s, #62 :)

from docker.

pierreozoux avatar pierreozoux commented on May 19, 2024

Which variable do you miss?

Feel free to PR :)

And yes alpine would be nice :)

Related to matomo-org/matomo#10914

from docker.

vfbsilva avatar vfbsilva commented on May 19, 2024

@pierreozoux I miss being able to provide the database setup. As mentioned in piwik/piwik#10914 if I have an ephemeral filesystem or setup as a kubernets pod I would like to be able to provide the database config and admin data as parameters to the deployment.

from docker.

pierreozoux avatar pierreozoux commented on May 19, 2024

You could use config-maps.

from docker.

vfbsilva avatar vfbsilva commented on May 19, 2024

@pierreozoux config maps state:

The ConfigMap API resource holds key-value pairs of configuration data that can be consumed in pods or used to store configuration data for system components such as controllers. ConfigMap is similar to Secrets, but designed to more conveniently support working with strings that do not contain sensitive information.

And I do want to store my database password. Seems risky. #62 seems a much better approach. Because config maps and secrets rely the idea that I can use some state-full data storage. For instance, lets imagine I will deploy a piwik for each system the company runs passing the variables as arguments simplifies my life when using tools like jenkins.

from docker.

almereyda avatar almereyda commented on May 19, 2024

I now also understand that piwik will ask for the database credentials upon first run. Yet this may introduce security risks upon deployment, why automatic configuration injection may be preferred. Currently a known option is

https://github.com/indiehosters/piwik/blob/master/docker-compose.yml#L20-L21

from docker.

J0WI avatar J0WI commented on May 19, 2024

Some ENVs are supported through plugins (matomo-org/matomo#10914) but there is no real CLI installation support: matomo-org/matomo#10257

from docker.

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.