Add goaccess container

This commit is contained in:
Mathis 2024-01-05 20:01:14 +00:00
parent ec39940bbd
commit b06b351d41
2 changed files with 24 additions and 0 deletions

View File

@ -22,3 +22,14 @@ spec:
image: git.namesny.com/mathis/namesny-com:2023-12-28 image: git.namesny.com/mathis/namesny-com:2023-12-28
ports: ports:
- containerPort: 80 - containerPort: 80
volumeMounts:
- name: access-logs
mountPath: /var/log/nginx/access.log
- name: goaccess
image: allinurl/goaccess
ports:
- containerPort: 7890
volumeMounts:
- name: access-logs
mountPath: /var/log/nginx/access.log

View File

@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: namesny-com-svc
namespace: namesny-com
spec:
selector:
app: namesny-com
type: ClusterIP
ports:
- protocol: TCP
port: 7890
targetPort: 7890