Tyler Perkins
983f3fe302
All checks were successful
continuous-integration/drone/push Build is passing
58 lines
1.5 KiB
YAML
58 lines
1.5 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: activepieces
|
|
namespace: activepieces-ns
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: activepieces
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: activepieces
|
|
spec:
|
|
containers:
|
|
- name: activepieces
|
|
image: activepieces/activepieces:0.14.3
|
|
ports:
|
|
- containerPort: 80
|
|
env:
|
|
- name: AP_DB_TYPE
|
|
value: POSTGRES
|
|
- name: AP_QUEUE_MODE
|
|
value: REDIS
|
|
- name: AP_POSTGRES_DATABASE
|
|
value: "activepieces"
|
|
- name: AP_POSTGRES_HOST
|
|
value: postgresql.postgresql-system.svc.cluster.local
|
|
- name: AP_POSTGRES_USERNAME
|
|
value: "activepieces"
|
|
- name: AP_POSTGRES_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: activepieces-secret
|
|
key: AP_POSTGRES_PASSWORD
|
|
- name: AP_POSTGRES_PORT
|
|
value: "5432"
|
|
- name: AP_REDIS_URL
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: activepieces-secret
|
|
key: AP_REDIS_URL
|
|
- name: AP_JWT_SECRET
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: activepieces-secret
|
|
key: AP_JWT_SECRET
|
|
- name: AP_FRONTEND_URL
|
|
value: "https://automate.clortox.com"
|
|
- name: AP_TELEMETRY_ENABLED
|
|
value: "false"
|
|
- name: AP_ENCRYPTION_KEY
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: activepieces-secret
|
|
key: AP_ENCRYPTION_KEY
|