diff options
author | Christian Pointner <equinox@spreadspace.org> | 2018-03-10 01:36:47 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2018-03-10 01:36:47 +0100 |
commit | 0c0c974090af4b69120a2bb1fd59b0b3589dc5a5 (patch) | |
tree | 0d33d5b89643fe38bfb8bc1f1ef14a66f3a8a880 /contrib/k8s-emc/matomo-deploy.yml | |
parent | initial matomo deployment (not working yet) (diff) |
fix matomo deployment
Diffstat (limited to 'contrib/k8s-emc/matomo-deploy.yml')
-rw-r--r-- | contrib/k8s-emc/matomo-deploy.yml | 29 |
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 |