Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use tags for docker #264

Closed
wants to merge 3 commits into from
Closed

use tags for docker #264

wants to merge 3 commits into from

Conversation

alexislefebvre
Copy link
Contributor

Fixes #263

Copy link
Collaborator

@J0WI J0WI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer to not pin the Matomo version here.

.examples/apache/docker-compose.yml Outdated Show resolved Hide resolved
alexislefebvre and others added 2 commits November 27, 2022 01:46
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
@@ -26,7 +26,7 @@
You can run the Matomo container and service like so:

```bash
docker run -d --link some-mysql:db matomo
docker run -d --link some-mysql:db matomo:4-apache
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
docker run -d --link some-mysql:db matomo:4-apache
docker run -d --link some-mysql:db matomo

Copy link
Contributor Author

@alexislefebvre alexislefebvre Nov 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The goal of this PR is to restrict the tag to major releases of Matomo and its services. This change would contradict this goal.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are just examples. IMHO users should pin tags individually if they need to.

@@ -13,7 +13,7 @@ services:
- ./db.env

app:
image: matomo
image: matomo:4-apache
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
image: matomo:4-apache
image: matomo

@@ -13,7 +13,7 @@ services:
- ./db.env

app:
image: matomo:fpm-alpine
image: matomo:4-fpm-alpine
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
image: matomo:4-fpm-alpine
image: matomo:fpm-alpine

@@ -36,7 +36,7 @@ This assumes you've already launched a suitable MySQL or MariaDB database contai
Use a Docker volume to keep persistent data:

```console
docker run -d -p 8080:80 --link some-mysql:db -v matomo:/var/www/html matomo
docker run -d -p 8080:80 --link some-mysql:db -v matomo:/var/www/html matomo:4-apache
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
docker run -d -p 8080:80 --link some-mysql:db -v matomo:/var/www/html matomo:4-apache
docker run -d -p 8080:80 --link some-mysql:db -v matomo:/var/www/html matomo

J0WI added a commit to J0WI/docker-piwik that referenced this pull request Mar 28, 2023
@J0WI J0WI mentioned this pull request Mar 28, 2023
@J0WI J0WI closed this in #311 Mar 28, 2023
J0WI added a commit that referenced this pull request Mar 28, 2023
@alexislefebvre alexislefebvre deleted the use-tags-for-docker branch March 28, 2023 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docker: use tags
2 participants