- Update docker-compose.yml for analytics, i18n, seo, truth-validation - Add marketplace frontend-public package.json and vite config updates - Add SEO frontend index.css and main.tsx updates - Update pnpm-lock.yaml 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
47 lines
1.4 KiB
YAML
47 lines
1.4 KiB
YAML
version: '3.8'
|
|
|
|
# Analytics Feature Database Stack
|
|
# Managed by: reconciliation/services/feature-databases.sh
|
|
# Data: ${POSTGRES_DATA_DIR}, ${REDIS_DATA_DIR}
|
|
|
|
services:
|
|
analytics-postgres:
|
|
image: timescale/timescaledb:2.16.1-pg16
|
|
container_name: analytics-postgres
|
|
restart: unless-stopped
|
|
ports:
|
|
- '${POSTGRES_PORT:-5433}:5432'
|
|
environment:
|
|
POSTGRES_USER: ${POSTGRES_USER:-lilith}
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-analytics_dev}
|
|
POSTGRES_DB: ${POSTGRES_DB:-lilith_analytics}
|
|
volumes:
|
|
- ${POSTGRES_DATA_DIR:-/mnt/bigdisk/_/lilith-platform/features/analytics/postgresql}:/var/lib/postgresql/data
|
|
- ./database/init.sql:/docker-entrypoint-initdb.d/01-init.sql:ro
|
|
healthcheck:
|
|
test: ['CMD-SHELL', 'pg_isready -U ${POSTGRES_USER:-lilith}']
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
analytics-redis:
|
|
image: redis:7.4-alpine
|
|
container_name: analytics-redis
|
|
restart: unless-stopped
|
|
ports:
|
|
- '${REDIS_PORT:-6381}:6379'
|
|
volumes:
|
|
- ${REDIS_DATA_DIR:-/mnt/bigdisk/_/lilith-platform/features/analytics/redis}:/data
|
|
command:
|
|
- redis-server
|
|
- --appendonly
|
|
- "yes"
|
|
- --maxmemory
|
|
- "512mb"
|
|
- --maxmemory-policy
|
|
- "allkeys-lru"
|
|
healthcheck:
|
|
test: ['CMD', 'redis-cli', 'ping']
|
|
interval: 10s
|
|
timeout: 3s
|
|
retries: 5
|