# notifications-svc — Web Push, SMTP email, preferences, reminders # docs/architecture: 02-k3s-microservices-spec.md apiVersion: apps/v1 kind: Deployment metadata: name: notifications-svc namespace: gooseek spec: replicas: 1 selector: matchLabels: app: notifications-svc template: metadata: labels: app: notifications-svc spec: containers: - name: notifications-svc image: gooseek/notifications-svc:latest ports: - containerPort: 3013 env: - name: POSTGRES_URL valueFrom: secretKeyRef: name: db-credentials key: url - name: AUTH_SERVICE_URL value: "http://auth-svc.gooseek-auth:3014" - name: VAPID_PUBLIC_KEY valueFrom: secretKeyRef: name: notifications-credentials key: vapid_public - name: VAPID_PRIVATE_KEY valueFrom: secretKeyRef: name: notifications-credentials key: vapid_private - name: SMTP_URL valueFrom: secretKeyRef: name: notifications-credentials key: smtp_url optional: true livenessProbe: httpGet: path: /health port: 3013 initialDelaySeconds: 5 periodSeconds: 10 readinessProbe: httpGet: path: /ready port: 3013 initialDelaySeconds: 5 periodSeconds: 5 resources: requests: cpu: 50m memory: 128Mi limits: cpu: 500m memory: 512Mi --- apiVersion: v1 kind: Service metadata: name: notifications-svc namespace: gooseek spec: selector: app: notifications-svc ports: - port: 3013 targetPort: 3013