Skip to content

Commit

Permalink
feat: add .env.example & deployment.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Roshanen committed Nov 28, 2024
1 parent 70d0f98 commit 5f727ad
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
NOCODB_API_URL=
NOCODB_API_TOKEN=
NOCODB_COMPANY_DB=
NOCODB_SEMINAR_DB=
46 changes: 46 additions & 0 deletions deploy/deployment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: ce-smart-career-frontend-prd
namespace: ce-smart-career
spec:
replicas: 1
selector:
matchLabels:
app: ce-smart-career-frontend-prd
template:
metadata:
labels:
app: ce-smart-career-frontend-prd
annotations:
redeployTimestamp: "{{ timestamp }}"
spec:
containers:
- name: ce-smart-career-frontend-prd
image: ghcr.io/ce-smart-career/ce-smart-career-2024-prd:latest
imagePullPolicy: Always
env:
- name: NOCODB_API_URL
valueFrom:
secretKeyRef:
name: nocodb-credentials
key: NOCODB_API_URL
- name: NOCODB_API_TOKEN
valueFrom:
secretKeyRef:
name: nocodb-credentials
key: NOCODB_API_TOKEN
- name: NOCODB_COMPANY_DB
valueFrom:
secretKeyRef:
name: nocodb-credentials
key: NOCODB_COMPANY_DB
- name: NOCODB_SEMINAR_DB
valueFrom:
secretKeyRef:
name: nocodb-credentials
key: NOCODB_SEMINAR_DB
ports:
- containerPort: 3000
imagePullSecrets:
- name: registry

0 comments on commit 5f727ad

Please sign in to comment.