fix(deploy): switch matomo to official image 5.10.0
bitnami/matomo was removed from Docker Hub (0 tags). Switch to the official matomo:5.10.0 image; update port 8080→80, volume path to /var/www/html, and env var names to match the official image schema. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -17,18 +17,20 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: matomo
|
- name: matomo
|
||||||
image: bitnami/matomo:5
|
image: matomo:5.10.0
|
||||||
env:
|
env:
|
||||||
- name: MATOMO_DATABASE_HOST
|
- name: MATOMO_DATABASE_HOST
|
||||||
value: mariadb
|
value: mariadb
|
||||||
- name: MATOMO_DATABASE_PORT_NUMBER
|
- name: MATOMO_DATABASE_PORT
|
||||||
value: "3306"
|
value: "3306"
|
||||||
- name: MATOMO_DATABASE_NAME
|
- name: MATOMO_DATABASE_ADAPTER
|
||||||
|
value: PDO\MYSQL
|
||||||
|
- name: MATOMO_DATABASE_DBNAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: matomo-secret
|
name: matomo-secret
|
||||||
key: MYSQL_DATABASE
|
key: MYSQL_DATABASE
|
||||||
- name: MATOMO_DATABASE_USER
|
- name: MATOMO_DATABASE_USERNAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: matomo-secret
|
name: matomo-secret
|
||||||
@@ -38,38 +40,21 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: matomo-secret
|
name: matomo-secret
|
||||||
key: MYSQL_PASSWORD
|
key: MYSQL_PASSWORD
|
||||||
- name: MATOMO_USERNAME
|
|
||||||
value: admin
|
|
||||||
- name: MATOMO_PASSWORD
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: matomo-secret
|
|
||||||
key: MATOMO_ADMIN_PASSWORD
|
|
||||||
- name: MATOMO_EMAIL
|
|
||||||
value: funman300@gmail.com
|
|
||||||
- name: MATOMO_WEBSITE_NAME
|
|
||||||
value: "Solitaire Quest"
|
|
||||||
- name: MATOMO_WEBSITE_HOST
|
|
||||||
value: "https://klondike.aleshym.co"
|
|
||||||
- name: MATOMO_HOST
|
|
||||||
value: analytics.aleshym.co
|
|
||||||
- name: MATOMO_ENABLE_PROXY_URI_HEADER
|
|
||||||
value: "yes"
|
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 80
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: matomo-data
|
- name: matomo-data
|
||||||
mountPath: /bitnami/matomo
|
mountPath: /var/www/html
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /index.php
|
path: /index.php
|
||||||
port: 8080
|
port: 80
|
||||||
initialDelaySeconds: 60
|
initialDelaySeconds: 60
|
||||||
periodSeconds: 30
|
periodSeconds: 30
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /index.php
|
path: /index.php
|
||||||
port: 8080
|
port: 80
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
resources:
|
resources:
|
||||||
|
|||||||
@@ -9,4 +9,4 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
port: 80
|
port: 80
|
||||||
targetPort: 8080
|
targetPort: 80
|
||||||
|
|||||||
Reference in New Issue
Block a user