1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-21 01:27:01 +02:00

add mantomo

This commit is contained in:
kev 2021-02-01 15:52:26 +08:00
parent 3f7ff2d425
commit 695c935b99
5 changed files with 33 additions and 15 deletions

View File

@ -190,7 +190,6 @@ A collection of delicious docker recipes.
- [x] phpbb
- [x] phpmyadmin-arm
- [x] phpvirtualbox-arm
- [x] piwik
- [x] revive
- [x] tabula
- [x] tiddlywiki
@ -336,6 +335,7 @@ A collection of delicious docker recipes.
- [x] jazzdd/phpvirtualbox
- [x] sonatype/nexus3
- [x] jupyter/notebook
- [x] matomo
- [x] metabase/metabase
- [x] metasploitframework/metasploit-framework :skull:
- [x] minio/minio

32
matomo/docker-compose.yml Normal file
View File

@ -0,0 +1,32 @@
version: "3.8"
x-matomo-environment: &matomo_environment
- MATOMO_DATABASE_HOST=mysql
- MATOMO_DATABASE_ADAPTER=mysql
- MATOMO_DATABASE_TABLES_PREFIX=matomo_
- MATOMO_DATABASE_USERNAME=matomo
- MATOMO_DATABASE_PASSWORD=matomo
- MATOMO_DATABASE_DBNAME=matomo
x-mysql-environment: &mysql_environment
- MYSQL_PASSWORD=matomo
- MYSQL_DATABASE=matomo
- MYSQL_USER=matomo
services:
matomo:
image: matomo
ports:
- "8000:80"
environment: *matomo_environment
depends:
- mysql
restart: unless-stopped
mysql:
image: mysql
volumes:
- ./data/mysql:/var/lib/mysql
environment: *mysql_environment
restart: unless-stopped

View File

@ -1,14 +0,0 @@
piwik:
image: vimagick/piwik
ports:
- "8000:80"
links:
- mysql
restart: always
mysql:
image: mysql
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=piwik
restart: always