Add goaccess container
This commit is contained in:
parent
ec39940bbd
commit
b06b351d41
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue