MCP server: - Replace vite build --watch + livePreview with static vite preview (watch mode was reloading the plugin iframe, killing WebSocket) - Bake WS_URI at Docker build time for production WebSocket URL - Add server-side application-level keepalive messages every 25s - Add client-side auto-reconnect with exponential backoff - Set Pingora route timeout to 86400s for WebSocket idle tolerance Penpot: - Add AWS_ACCESS_KEY_ID/SECRET env vars for S3 SDK compatibility - Set S3 region to satisfy AWS SDK credential chain - Enable OIDC registration (disable-registration blocks OIDC signup) - Fix frontend port (8080 not 80) - Add penpot bucket to seaweedfs-buckets init job
61 lines
1.9 KiB
YAML
61 lines
1.9 KiB
YAML
apiVersion: postgresql.cnpg.io/v1
|
|
kind: Cluster
|
|
metadata:
|
|
name: postgres
|
|
namespace: data
|
|
spec:
|
|
instances: 1
|
|
|
|
postgresql:
|
|
parameters:
|
|
max_connections: "100"
|
|
shared_buffers: "128MB"
|
|
work_mem: "4MB"
|
|
|
|
bootstrap:
|
|
initdb:
|
|
database: postgres
|
|
owner: postgres
|
|
# No `secret` field — CNPG auto-generates a random superuser password
|
|
# and stores it in the `postgres-superuser` Secret. sunbeam seed reads
|
|
# that Secret to configure the OpenBao database secrets engine.
|
|
postInitSQL:
|
|
# Create all 10 logical databases and their owners.
|
|
# Passwords are set by the seed-secrets script via ALTER USER after init.
|
|
- CREATE USER kratos WITH LOGIN;
|
|
- CREATE DATABASE kratos_db OWNER kratos;
|
|
- CREATE USER hydra WITH LOGIN;
|
|
- CREATE DATABASE hydra_db OWNER hydra;
|
|
- CREATE USER docs WITH LOGIN;
|
|
- CREATE DATABASE docs_db OWNER docs;
|
|
- CREATE USER meet WITH LOGIN;
|
|
- CREATE DATABASE meet_db OWNER meet;
|
|
- CREATE USER drive WITH LOGIN;
|
|
- CREATE DATABASE drive_db OWNER drive;
|
|
- CREATE USER messages WITH LOGIN;
|
|
- CREATE DATABASE messages_db OWNER messages;
|
|
- CREATE USER conversations WITH LOGIN;
|
|
- CREATE DATABASE conversations_db OWNER conversations;
|
|
- CREATE USER people WITH LOGIN;
|
|
- CREATE DATABASE people_db OWNER people;
|
|
- CREATE USER gitea WITH LOGIN;
|
|
- CREATE DATABASE gitea_db OWNER gitea;
|
|
- CREATE USER hive WITH LOGIN;
|
|
- CREATE DATABASE hive_db OWNER hive;
|
|
- CREATE USER find WITH LOGIN;
|
|
- CREATE DATABASE find_db OWNER find;
|
|
- CREATE USER penpot WITH LOGIN;
|
|
- CREATE DATABASE penpot_db OWNER penpot;
|
|
- CREATE USER stalwart WITH LOGIN;
|
|
- CREATE DATABASE stalwart_db OWNER stalwart;
|
|
|
|
storage:
|
|
size: 10Gi
|
|
|
|
resources:
|
|
requests:
|
|
memory: 256Mi
|
|
cpu: 250m
|
|
limits:
|
|
memory: 512Mi
|