* mobile: wire notification registration and listener
* implement backend components for push notifications
* refactor: agentic comment cleanup
* docs: use proper module name for particle processor
* set required env variables for push notifications
* bump version
* fix: always upsert push token on mobile start
* Revert "fix: always upsert push token on mobile start"
This reverts commit 90ff18a788.
* send push notifications regardless of online status
53 lines
1.4 KiB
YAML
53 lines
1.4 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: particleprocessorworker
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: particleprocessorworker
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: particleprocessorworker
|
|
spec:
|
|
serviceAccountName: default-service-account
|
|
nodeSelector:
|
|
cloud.google.com/gke-spot: "true"
|
|
terminationGracePeriodSeconds: 15
|
|
containers:
|
|
- name: particleprocessorworker
|
|
image: "particleprocessorworker"
|
|
resources:
|
|
requests:
|
|
memory: "1Gi"
|
|
cpu: 500m
|
|
limits:
|
|
memory: "1Gi"
|
|
cpu: 500m
|
|
env:
|
|
- name: "GCP_PROJECT"
|
|
value: "flowy-dev-440017"
|
|
- name: "GCS_BUCKET"
|
|
value: "flowy-llink-bucket"
|
|
- name: "GOOGLE_SERVICE_ACCOUNT_EMAIL"
|
|
value: "[email protected]"
|
|
- name: "LLINK_POSTGRES_CONNECTION_URL"
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: shared-secrets
|
|
key: LLINK_POSTGRES_CONNECTION_URL
|
|
- name: "DEEPGRAM_API_KEY"
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: shared-secrets
|
|
key: DEEPGRAM_SECRET
|
|
- name: "PUSHER_GRPC_ADDR"
|
|
value: "pusher:50051"
|
|
- name: "EXPO_ACCESS_TOKEN"
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: shared-secrets
|
|
key: EXPO_ACCESS_TOKEN
|