Browse Source

Merge pull request #1509 from J0WI/upmat

Update bits of matomo docs
yosifkit 6 years ago
parent
commit
574a7ae097
1 changed files with 11 additions and 9 deletions
  1. 11 9
      matomo/content.md

+ 11 - 9
matomo/content.md

@@ -10,11 +10,7 @@
 
 
 %%LOGO%%
 %%LOGO%%
 
 
-## Usage
-
-In keeping with a 'pure' micro-services approach, this image runs a Matomo service only (in the form of FastCGI). Because of that it **must** be used with companion containers which provide a database for data storage and HTTP to FastCGI proxy/translation services for the user interface.
-
-## Runtime
+# How to use this image
 
 
 You can run the Matomo container and service like so:
 You can run the Matomo container and service like so:
 
 
@@ -24,16 +20,22 @@ docker run -d --link some-mysql:db matomo
 
 
 This assumes you've already launched a suitable MySQL or MariaDB database container.
 This assumes you've already launched a suitable MySQL or MariaDB database container.
 
 
-You'll now need to use a suitable reverse proxy to access the user interface; which is available on TCP port 9000. Nginx provides the necessary functions for translation between HTTP and FastCGI.
+## Persistent data
+
+Use a Docker volume to keep persistent data:
+
+```console
+docker run -d --link some-mysql:db -v matomo:/var/www/html matomo
+```
 
 
 ## Matomo Installation
 ## Matomo Installation
 
 
 Once you're up and running, you'll arrive at the configuration wizard page. If you're using the compose file, at the `Database Setup` step, please enter the following:
 Once you're up and running, you'll arrive at the configuration wizard page. If you're using the compose file, at the `Database Setup` step, please enter the following:
 
 
 -	Database Server: `db`
 -	Database Server: `db`
--	Login: `root`
--	Password: MYSQL_ROOT_PASSWORD
--	Database Name: piwik (or you can choose)
+-	Login: MYSQL_USER
+-	Password: MYSQL_PASSWORD
+-	Database Name: MYSQL_DATABASE
 
 
 And leave the rest as default.
 And leave the rest as default.