WIP: Added most needed elements

This commit is contained in:
WilliamMiceli
2019-02-08 23:48:13 -05:00
parent 86948b6488
commit 04a449f373
4 changed files with 83 additions and 5 deletions

View File

@@ -1,5 +1 @@
# Matomo (formerly Piwik)
### Will continue this in the future
https://store.docker.com/_/matomo
# Matomo

View File

@@ -0,0 +1,25 @@
version: "2"
services:
matomo:
image: matomo:3.5-apache
restart: always
links:
- db
volumes:
- "./config:/var/www/html/config:rw"
- "./logs:/var/www/html/logs"
environment:
VIRTUAL_HOST: CHANGE_ME
ports:
- "80:80"
db:
image: mariadb:latest
volumes:
- ./mysql/runtime2:/var/lib/mysql
environment:
MYSQL_DATABASE: matomo_db
MYSQL_ROOT_PASSWORD: CHANGE_ME
MYSQL_USER: matomo_user
MYSQL_PASSWORD: CHANGE_ME

View File

@@ -0,0 +1,49 @@
version: '2'
catalog:
name: Matomo
version: latest
# description:
# minimum_rancher_version:
# maximum_rancher_version:
# upgrade_from:
questions:
- variable: "HOST_LABEL"
label: "Host Label Key/Value Pair"
description: |
The Label Key/Value pair of the host which containers should be deployed
default: "host.id=Host1"
required: false
type: string
- variable: "TRAEFIK_HOST"
label: "Public Host Domain"
description: |
The host that Traefik will use to provide public access.
default: "subdomain.domain.tld"
required: true
type: string
- variable: "DB_ROOT_PASS"
label: "Database Root Password"
description: |
A secure password to be used by the "root" database user.
# default:
required: true
type: password
- variable: "DB_USER_PASS"
label: "Database User Password"
description: |
A secure password to be used by the "matomo_user" database user.
# default:
required: true
type: password
- variable: "DATA_DIR"
label: "Data Directory"
description: |
The directory to store persistent data for the stack.
default: "Personal/Matomo"
required: true
type: string

View File

@@ -0,0 +1,8 @@
name: Matomo
description: |
Status: NOT READY
version: latest
# category:
maintainer: WilliamMiceli
# license:
# projectURL: