# memory-svc — персональная память AI, Enterprise Memory # docs/architecture: 01-perplexity-analogue-design.md §5.9 apiVersion: apps/v1 kind: Deployment metadata: name: memory-svc namespace: gooseek spec: replicas: 2 selector: matchLabels: app: memory-svc template: metadata: labels: app: memory-svc annotations: prometheus.io/scrape: "true" prometheus.io/port: "3010" prometheus.io/path: "/metrics" spec: containers: - name: memory-svc image: gooseek/memory-svc:latest ports: - containerPort: 3010 env: - name: PORT value: "3010" - name: POSTGRES_URL valueFrom: secretKeyRef: name: db-credentials key: url - name: AUTH_SERVICE_URL value: "http://auth-svc.gooseek-auth:3014" livenessProbe: httpGet: path: /health port: 3010 initialDelaySeconds: 5 periodSeconds: 10 readinessProbe: httpGet: path: /ready port: 3010 initialDelaySeconds: 3 periodSeconds: 5 resources: requests: cpu: 100m memory: 256Mi limits: cpu: 1000m memory: 1Gi --- apiVersion: v1 kind: Service metadata: name: memory-svc namespace: gooseek spec: selector: app: memory-svc ports: - port: 3010 targetPort: 3010