36 lines
776 B
YAML
Executable File
36 lines
776 B
YAML
Executable File
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
|
|
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
|
|
|