release(XZH-21): publish verified backend phase to main
Bring the XZH-21 backend closing delivering tree (content identical toa60ea8don verify/xzh-21, tested at 45/45 by automation) onto main, which until now held only the empty init commitd45d191. - note_history aligned to notes.version (V18), pre-save snapshot per version - unified trash: inbox wired in, category delete migrates/cleans history - planner batch tags scoped by kind, dashboard taskCounts.due same filter - RSS restore notice states old articles are not restored
This commit is contained in:
1 parent
d45d191640
commit
e67c80f39a
169 files changed
+14052
No files matched your search
+59
@@ -0,0 +1,59 @@
|
||||
services:
|
||||
db:
|
||||
image: ${IMAGE_REGISTRY:-docker.io}/library/postgres:16-alpine
|
||||
environment:
|
||||
POSTGRES_DB: myspace
|
||||
POSTGRES_USER: ${DB_USER:-myspace}
|
||||
POSTGRES_PASSWORD: ${DB_PASSWORD:?Set DB_PASSWORD in .env}
|
||||
ports:
|
||||
- '5432:5432'
|
||||
volumes:
|
||||
- postgres-data:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: [CMD-SHELL, 'pg_isready -U "$${POSTGRES_USER}" -d myspace']
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 20
|
||||
backend:
|
||||
build:
|
||||
context: ./backend
|
||||
args:
|
||||
IMAGE_REGISTRY: ${IMAGE_REGISTRY:-docker.io}
|
||||
environment:
|
||||
DB_URL: jdbc:postgresql://db:5432/myspace
|
||||
DB_USER: ${DB_USER:-myspace}
|
||||
DB_PASSWORD: ${DB_PASSWORD:?Set DB_PASSWORD}
|
||||
ADMIN_USERNAME: ${ADMIN_USERNAME:-admin}
|
||||
ADMIN_PASSWORD: ${ADMIN_PASSWORD:?Set ADMIN_PASSWORD}
|
||||
STORAGE_PATH: /data/assets
|
||||
RSS_PUBLIC_DNS: ${RSS_PUBLIC_DNS-https://cloudflare-dns.com/dns-query}
|
||||
AI_BASE_URL: ${AI_BASE_URL:-}
|
||||
AI_API_KEY: ${AI_API_KEY:-}
|
||||
AI_CHAT_MODELS: ${AI_CHAT_MODELS:-}
|
||||
AI_IMAGE_MODELS: ${AI_IMAGE_MODELS:-}
|
||||
SERVER_ADDRESS: 0.0.0.0
|
||||
COOKIE_SECURE: ${COOKIE_SECURE:-false}
|
||||
volumes:
|
||||
- asset-data:/data/assets
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
healthcheck:
|
||||
test: [CMD-SHELL, 'bash -c "exec 3<>/dev/tcp/127.0.0.1/8080"']
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 12
|
||||
start_period: 60s
|
||||
frontend:
|
||||
build:
|
||||
context: ./frontend
|
||||
args:
|
||||
IMAGE_REGISTRY: ${IMAGE_REGISTRY:-docker.io}
|
||||
ports:
|
||||
- '127.0.0.1:8088:80'
|
||||
depends_on:
|
||||
backend:
|
||||
condition: service_healthy
|
||||
volumes:
|
||||
postgres-data:
|
||||
asset-data:
|
||||
Reference in new issue
Block a user