feat(seo): implement dynamic metadata, sitemap, and robots.txt

Add dynamic meta tags for routes and entity detail pages
Generate sitemap.xml and robots.txt dynamically in Vite
Change default frontend port from 3000 to 20015
This commit is contained in:
2026-05-03 14:31:22 +08:00
parent 282481bbcc
commit 1dab650c2c
19 changed files with 572 additions and 51 deletions

View File

@@ -22,8 +22,8 @@ services:
environment:
DATABASE_URL: postgres://pokopia:pokopia@postgres:5432/pokopia
BACKEND_PORT: 3001
FRONTEND_ORIGIN: http://localhost:3000
APP_ORIGIN: http://localhost:3000
FRONTEND_ORIGIN: http://localhost:20015
APP_ORIGIN: http://localhost:20015
UPLOAD_DIR: /app/uploads
BACKEND_PUBLIC_ORIGIN: http://localhost:3001
RESEND_API_KEY: ${RESEND_API_KEY:-}
@@ -42,8 +42,9 @@ services:
dockerfile: frontend/Dockerfile
environment:
VITE_API_BASE_URL: http://localhost:3001
VITE_SITE_URL: https://pokopiawiki.tootaio.com
ports:
- "3000:3000"
- "20015:20015"
depends_on:
- backend