Compare commits

...

1 Commits

Author SHA1 Message Date
Mathis b06b351d41 Add goaccess container 2024-01-05 20:01:14 +00:00
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
ports:
- 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