summaryrefslogtreecommitdiff
path: root/contrib/k8s-emc/matomo-deploy.yml
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/k8s-emc/matomo-deploy.yml')
-rw-r--r--contrib/k8s-emc/matomo-deploy.yml29
1 files changed, 28 insertions, 1 deletions
diff --git a/contrib/k8s-emc/matomo-deploy.yml b/contrib/k8s-emc/matomo-deploy.yml
index 29cbd87..646323f 100644
--- a/contrib/k8s-emc/matomo-deploy.yml
+++ b/contrib/k8s-emc/matomo-deploy.yml
@@ -36,12 +36,39 @@ spec:
mountPath: /srv/html
containers:
- name: matomo
- image: spreadspace/matomo:2
+ image: spreadspace/matomo:3
imagePullPolicy: Always
volumeMounts:
- name: matomo-html
mountPath: /var/www/html
+ - name: nginx
+ image: spreadspace/nginx:4
+ imagePullPolicy: Always
+ args:
+ - nginx
+ - -c
+ - /srv/config/nginx.conf
+ - -g
+ - "daemon off;"
+ volumeMounts:
+ - name: home
+ mountPath: /srv
+ - name: nginx-lib
+ mountPath: /var/lib/nginx
+ - name: nginx-config
+ mountPath: /srv/config
+ - name: matomo-html
+ mountPath: /var/www/html
volumes:
+ - name: home
+ emptyDir:
+ medium: Memory
+ - name: nginx-lib
+ emptyDir:
+ medium: Memory
+ - name: nginx-config
+ configMap:
+ name: stats-matomo
- name: matomo-html
hostPath:
type: DirectoryOrCreate