79 lines
2.1 KiB
YAML
79 lines
2.1 KiB
YAML
# =============================================================================
|
|
# SEO - Search Engine Optimization (Shared Service)
|
|
# =============================================================================
|
|
# SEO and metadata services for all platform domains
|
|
# Serves /_/ paths via Astro static frontend (direct nginx proxy)
|
|
|
|
deployment:
|
|
id: seo
|
|
type: shared
|
|
name: SEO Services
|
|
description: SEO metadata, sitemap generation, OpenGraph
|
|
|
|
# Orchestration
|
|
# NOTE: SEO content is served directly by Astro (dev server in dev, static build in prod)
|
|
# No webmap-router needed - nginx proxies /_/ directly to Astro
|
|
orchestration:
|
|
dependencies: ['attributes']
|
|
entryPoints:
|
|
- seo.api
|
|
docker:
|
|
profiles: [platform]
|
|
runSeeds: false
|
|
lifecycle:
|
|
keepAlive: false
|
|
autostart: true
|
|
urls:
|
|
- url: http://www.atlilith.local/_/
|
|
description: SEO endpoints (atlilith)
|
|
- url: http://www.trustedmeet.local/_/
|
|
description: SEO endpoints (trustedmeet)
|
|
|
|
services:
|
|
- id: api
|
|
type: api
|
|
port: 3014
|
|
entrypoint: codebase/features/seo/backend-api
|
|
description: SEO API - metadata generation, sitemap management
|
|
healthCheck:
|
|
type: http
|
|
path: /api/seo/health
|
|
dependencies:
|
|
- postgresql
|
|
- redis
|
|
- attributes.api
|
|
|
|
- id: postgresql
|
|
type: postgresql
|
|
port: 25436
|
|
description: SEO database - pages, metadata, sitemaps
|
|
|
|
- id: redis
|
|
type: redis
|
|
port: 26383
|
|
description: SEO cache - metadata, sitemap entries
|
|
|
|
# frontend-static moved to per-domain deployments:
|
|
# atlilith.www → port 4005 (deployments/@domains/atlilith.www/seo)
|
|
# trustedmeet.www → port 4006 (deployments/@domains/trustedmeet.www/seo)
|
|
# spoiledbabes.www→ port 4007 (deployments/@domains/spoiledbabes.www/seo)
|
|
|
|
- id: frontend-public
|
|
type: frontend
|
|
port: 5160
|
|
entrypoint: codebase/features/seo/frontend-public
|
|
description: SEO public frontend
|
|
healthCheck:
|
|
type: http
|
|
path: /
|
|
dependencies:
|
|
- api
|
|
|
|
deployments:
|
|
dev:
|
|
host: apricot
|
|
autostart: true
|
|
staging:
|
|
host: black
|
|
production:
|
|
host: vps-0
|