59 lines
1.5 KiB
YAML
59 lines
1.5 KiB
YAML
# =============================================================================
|
|
# Blog CMS (Shared Service)
|
|
# =============================================================================
|
|
# Headless CMS for content marketing across brand domains.
|
|
# Supports blog posts, reports, series, categories, tags, authors.
|
|
# Multi-domain content scoping via domain column.
|
|
|
|
deployment:
|
|
id: blog
|
|
type: shared
|
|
name: Blog CMS
|
|
description: Headless CMS for content marketing - blog posts, reports, series, RSS/Atom feeds, sitemap generation
|
|
|
|
orchestration:
|
|
dependencies: []
|
|
entryPoints:
|
|
- blog.api
|
|
docker:
|
|
profiles: [feature-dbs]
|
|
runSeeds: true
|
|
lifecycle:
|
|
autostart: true
|
|
keepAlive: true
|
|
urls:
|
|
- url: http://localhost:3021/api/blog
|
|
description: Blog CMS API
|
|
|
|
services:
|
|
- id: api
|
|
type: api
|
|
port: 3021
|
|
entrypoint: codebase/features/blog/backend-api
|
|
description: |
|
|
Headless CMS API for content marketing.
|
|
Public: paginated posts, RSS/Atom feeds, sitemap.
|
|
Admin: CRUD, publish lifecycle, scheduled publishing.
|
|
healthCheck:
|
|
type: http
|
|
path: /health
|
|
dependencies:
|
|
- postgresql
|
|
- redis
|
|
|
|
- id: postgresql
|
|
type: postgresql
|
|
port: 25453
|
|
description: Blog content storage - posts, authors, categories, tags, series
|
|
|
|
- id: redis
|
|
type: redis
|
|
port: 26396
|
|
description: Blog cache and scheduled publish job queue
|
|
|
|
deployments:
|
|
dev:
|
|
host: apricot
|
|
autostart: true
|
|
production:
|
|
host: vps-0
|