matomo-org / matomo-org/docker

impossible to use piwik on swarm

Open
#89 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Shell
Stars
1k
Forks
384
PR merge metrics
No merged PRs in 30d

Description

Hi,
i've tried several containers and configuration to be able to use piwik on a docker swarm.
When i start the piwik container, i can reconfigure it's connection to mysql recovering all the data, but on a docker swarm could be possible that the container switch from a node to another, or it can loose the connection to the db for some time, and the result is that piwik restart on a new brand one container loosing the initial confuguration and stopping to work untill someone reconfigure it another time.

Could be possible to mount a persistent volume for it's configuration or something like that?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by inspecting the container startup and configuration flow for Docker Swarm deployments, then determine how configuration survives a task moving between nodes or losing its database connection. Done means a restarted or rescheduled container retains its existing Matomo configuration without manual reconfiguration.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.