matomo-org / matomo-org/docker
Clarify use of volumes for docker-compose examples
- Dominant language
- Shell
- Stars
- 1k
- Forks
- 384
- PR merge metrics
- No merged PRs in 30d
Description
About docker-compose.yml example for apache :
```
app:
image: matomo
restart: always
volumes:
# - ./config:/var/www/html/config
# - ./logs:/var/www/html/logs
- matomo:/var/www/html
environment:
- MATOMO_DATABASE_HOST=db
- VIRTUAL_HOST=
env_file:
- ./db.env
ports:
- 8080:80
```
The volumes section contains 3 lines. It's confusing. Why are the two first ones commented ? Should I use both config and logs volumes or just the matomo one ? Is it a best practice to put whole matomo in a volume ?
This path `/var/www/html/logs` is wrong, should be fixed to `/var/www/html/tmp/logs`.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the docker-compose.yml example for Apache and inspect its volume comments and paths. Clarify whether the config and logs mounts should be used alongside or instead of the Matomo volume, and correct the logs path to /var/www/html/tmp/logs. Done when the example and accompanying guidance remove the ambiguity.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose
- Domain
- devops, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100