86 lines
2.5 KiB
YAML
86 lines
2.5 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: storefront
|
|
namespace: manoonoils
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: storefront
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: storefront
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: ghcr-pull-secret
|
|
containers:
|
|
- name: storefront
|
|
image: ghcr.io/unchainedio/manoon-headless:latest # {"": "flux-system:manoon-headless"}
|
|
imagePullPolicy: Always
|
|
command:
|
|
- node
|
|
- server.js
|
|
workingDir: /app
|
|
ports:
|
|
- containerPort: 3000
|
|
env:
|
|
- name: NODE_ENV
|
|
value: "production"
|
|
- name: PORT
|
|
value: "3000"
|
|
- name: HOSTNAME
|
|
value: "0.0.0.0"
|
|
- name: NEXT_PUBLIC_SALEOR_API_URL
|
|
value: "https://api.manoonoils.com/graphql/"
|
|
- name: NEXT_PUBLIC_SITE_URL
|
|
value: "https://manoonoils.com"
|
|
- name: DASHBOARD_URL
|
|
value: "https://dashboard.manoonoils.com"
|
|
- name: RESEND_API_KEY
|
|
value: "re_bewcjHuy_DHtksWVUxguj8vFzKiJZNkFi"
|
|
- name: NEXT_PUBLIC_OPENPANEL_CLIENT_ID
|
|
value: "fa61f8ae-0b5d-4187-a9b1-5a04b0025674"
|
|
- name: OPENPANEL_CLIENT_SECRET
|
|
value: "91126be0d1e78e657e0427df82733832.c6d30edf6ee673da9650a883604169a13ab8579a0dde70cb39b477f4cf441f90"
|
|
- name: OPENPANEL_API_URL
|
|
value: "https://op.nodecrew.me/api"
|
|
- name: NEXT_PUBLIC_RYBBIT_HOST
|
|
value: "https://rybbit.nodecrew.me"
|
|
- name: NEXT_PUBLIC_RYBBIT_SITE_ID
|
|
value: "1"
|
|
- name: RYBBIT_API_KEY
|
|
value: "rb_NgFoMtHeohWoJULLiKqSEJmdghSrhJajgseSWQLjfxyeUJcFfQvUrfYwdllSTsLx"
|
|
- name: MAUTIC_CLIENT_ID
|
|
value: "2_23cgmaqef8kgg8oo4kggc0w4wccwoss8o8w48o8sc40cowgkkg"
|
|
- name: MAUTIC_CLIENT_SECRET
|
|
value: "4k8367ab306co48c4c8g8sco8cgcwwww044gwccs0o0c8w4gco"
|
|
- name: MAUTIC_API_URL
|
|
value: "https://mautic.nodecrew.me"
|
|
resources:
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
requests:
|
|
cpu: 50m
|
|
memory: 128Mi
|
|
startupProbe:
|
|
httpGet:
|
|
path: /favicon.ico
|
|
port: 3000
|
|
periodSeconds: 10
|
|
failureThreshold: 30
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /favicon.ico
|
|
port: 3000
|
|
periodSeconds: 30
|
|
failureThreshold: 3
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /favicon.ico
|
|
port: 3000
|
|
periodSeconds: 5
|
|
failureThreshold: 3
|