chore add core rust project files and diesel migrations
Track required workspace crates, scripts, and historical diesel migrations so the repository contains the complete runnable backend baseline. Made-with: Cursor
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
# HTYTS + AuthCore HTYUC 本地联调:双 Postgres + Redis(端口与 `scripts/run-authcore-e2e-docker.sh` 一致)。
|
||||
# 宿主机端口:15432 htyts、15433 htyuc、16379 redis,避免与本地 PostgreSQL/Redis 冲突。
|
||||
#
|
||||
# docker compose -f docker-compose.authcore-e2e.yml up -d --wait
|
||||
# ./scripts/run-authcore-e2e-docker.sh
|
||||
|
||||
services:
|
||||
authcore-e2e-pg-ts:
|
||||
image: postgres:14
|
||||
environment:
|
||||
POSTGRES_USER: htyts_e2e
|
||||
POSTGRES_PASSWORD: htyts_e2e
|
||||
POSTGRES_DB: htyts_e2e
|
||||
ports:
|
||||
- "15432:5432"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U htyts_e2e -d htyts_e2e"]
|
||||
interval: 3s
|
||||
timeout: 5s
|
||||
retries: 20
|
||||
|
||||
authcore-e2e-pg-uc:
|
||||
image: postgres:14
|
||||
environment:
|
||||
POSTGRES_USER: htyuc
|
||||
POSTGRES_PASSWORD: htyuc
|
||||
POSTGRES_DB: htyuc_test
|
||||
ports:
|
||||
- "15433:5432"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U htyuc -d htyuc_test"]
|
||||
interval: 3s
|
||||
timeout: 5s
|
||||
retries: 20
|
||||
|
||||
authcore-e2e-redis:
|
||||
image: redis:7
|
||||
ports:
|
||||
- "16379:6379"
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 3s
|
||||
timeout: 5s
|
||||
retries: 20
|
||||
Reference in New Issue
Block a user