k3s-configs/apps/namesny-com/deployment.yaml

36 lines
776 B
YAML
Raw Normal View History

2023-11-28 21:19:46 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: namesny-com
namespace: namesny-com
labels:
app: namesny-com
spec:
replicas: 1
selector:
matchLabels:
app: namesny-com
template:
metadata:
labels:
app: namesny-com
spec:
imagePullSecrets:
- name: gitea-regcred
containers:
- name: namesny-com
2023-12-28 15:37:29 +00:00
image: git.namesny.com/mathis/namesny-com:2023-12-28
2023-11-28 21:19:46 +00:00
ports:
- containerPort: 80
2024-01-05 20:01:14 +00:00
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