chore(mail): add infra — port 3042, DB schema setup, pnpm install

Reserves port 3042 in PORT_SCHEMA.md, adds mail pgSchema to
setup-databases.sh and init-db scripts, installs mana-mail workspace
dependencies.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-04-13 20:42:12 +02:00
parent 9066b6c9ae
commit a2f05409a4
3 changed files with 359 additions and 226 deletions

View file

@ -84,6 +84,7 @@ PLATFORM_SCHEMAS=(
"cards"
"events"
"news"
"mail"
)
# Check if specific service requested
@ -132,9 +133,12 @@ setup_service() {
news|news-ingester)
push_schema "@mana/news-ingester" "news-ingester"
;;
mail|mana-mail)
push_schema "@mana/mail-service" "mana-mail"
;;
*)
echo -e "${RED}Unknown service: $service${NC}"
echo "Available services: auth, credits, user, subscriptions, analytics, media, todo, traces, presi, uload, cards, events, news"
echo "Available services: auth, credits, user, subscriptions, analytics, media, todo, traces, presi, uload, cards, events, news, mail"
exit 1
;;
esac