- Enhanced moebius ring logo design in Blender - Updated Docker Compose for website-only deployment with improved config - Enhanced teaser layout with updated branding integration - Added installation and setup documentation - Consolidated planning and reports documentation - Updated gitignore to exclude Next.js build artifacts and archives 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
134 lines
4.1 KiB
YAML
134 lines
4.1 KiB
YAML
# Docker Compose for CHORUS Teaser Website
|
|
# Complete deployment with database and website in single stack
|
|
|
|
version: '3.8'
|
|
|
|
services:
|
|
# PostgreSQL Database (using existing volume with lead data)
|
|
teaser-postgres:
|
|
image: postgres:15-alpine
|
|
deploy:
|
|
replicas: 1
|
|
placement:
|
|
constraints:
|
|
- node.hostname == walnut
|
|
resources:
|
|
limits:
|
|
memory: 256M
|
|
reservations:
|
|
memory: 128M
|
|
environment:
|
|
- POSTGRES_DB=chorus_website
|
|
- POSTGRES_USER=chorus
|
|
- POSTGRES_PASSWORD=choruspass
|
|
volumes:
|
|
- teaser_postgres_data:/var/lib/postgresql/data
|
|
networks:
|
|
- chorus_website_network
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U chorus -d chorus_website"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 5
|
|
start_period: 30s
|
|
|
|
# CHORUS Teaser Website
|
|
chorus-website:
|
|
image: registry.home.deepblack.cloud/teaser-website:latest
|
|
deploy:
|
|
replicas: 2
|
|
placement:
|
|
constraints:
|
|
- node.hostname == walnut
|
|
resources:
|
|
limits:
|
|
memory: 256M
|
|
reservations:
|
|
memory: 128M
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.docker.network=tengig"
|
|
- "traefik.http.routers.chorus-website.rule=Host(`www.chorus.services`) || Host(`chorus.services`)"
|
|
- "traefik.http.routers.chorus-website.entrypoints=web-secured"
|
|
- "traefik.http.routers.chorus-website.tls.certresolver=letsencryptresolver"
|
|
- "traefik.http.services.chorus-website.loadbalancer.server.port=3000"
|
|
- "traefik.http.services.chorus-website.loadbalancer.passhostheader=true"
|
|
# Redirect naked domain to www
|
|
- "traefik.http.middlewares.chorus-redirect.redirectregex.regex=^https://chorus.services/(.*)"
|
|
- "traefik.http.middlewares.chorus-redirect.redirectregex.replacement=https://www.chorus.services/$${1}"
|
|
- "traefik.http.routers.chorus-website.middlewares=chorus-redirect"
|
|
environment:
|
|
- DATABASE_URL=postgresql://chorus:choruspass@teaser-postgres:5432/chorus_website
|
|
- NODE_ENV=production
|
|
- NEXT_TELEMETRY_DISABLED=1
|
|
- SMTP_HOST=smtp.gmail.com
|
|
- SMTP_PORT=587
|
|
- SMTP_SECURE=false
|
|
- NOTIFICATION_FROM_EMAIL=noreply@chorus.services
|
|
- NOTIFICATION_TO_EMAIL=anthony.lewis.rawlins@gmail.com
|
|
- LEAD_API_KEY=prod-api-key-chorus-teaser
|
|
ports:
|
|
- target: 3000
|
|
published: 3100
|
|
protocol: tcp
|
|
mode: ingress
|
|
networks:
|
|
- tengig
|
|
- chorus_website_network
|
|
depends_on:
|
|
- teaser-postgres
|
|
|
|
# CHORUS Dashboard
|
|
chorus-dashboard:
|
|
image: registry.home.deepblack.cloud/chorus-dashboard:latest
|
|
deploy:
|
|
replicas: 1
|
|
placement:
|
|
constraints:
|
|
- node.hostname == walnut
|
|
resources:
|
|
limits:
|
|
memory: 256M
|
|
reservations:
|
|
memory: 128M
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.docker.network=tengig"
|
|
- "traefik.http.routers.chorus-dashboard.rule=Host(`dashboard.chorus.services`)"
|
|
- "traefik.http.routers.chorus-dashboard.entrypoints=web-secured"
|
|
- "traefik.http.routers.chorus-dashboard.tls.certresolver=letsencryptresolver"
|
|
- "traefik.http.services.chorus-dashboard.loadbalancer.server.port=3002"
|
|
- "traefik.http.services.chorus-dashboard.loadbalancer.passhostheader=true"
|
|
environment:
|
|
- DATABASE_URL=postgresql://chorus:choruspass@teaser-postgres:5432/chorus_website
|
|
- POSTGRES_HOST=teaser-postgres
|
|
- POSTGRES_PORT=5432
|
|
- POSTGRES_DB=chorus_website
|
|
- POSTGRES_USER=chorus
|
|
- POSTGRES_PASSWORD=choruspass
|
|
- NODE_ENV=production
|
|
- NEXT_TELEMETRY_DISABLED=1
|
|
- DASHBOARD_USERNAME=chorus
|
|
- DASHBOARD_PASSWORD=services2025!
|
|
ports:
|
|
- target: 3002
|
|
published: 3102
|
|
protocol: tcp
|
|
mode: ingress
|
|
networks:
|
|
- tengig
|
|
- chorus_website_network
|
|
depends_on:
|
|
- teaser-postgres
|
|
|
|
volumes:
|
|
teaser_postgres_data:
|
|
external: true
|
|
name: chorus-teaser_teaser_postgres_data
|
|
|
|
networks:
|
|
tengig:
|
|
external: true
|
|
chorus_website_network:
|
|
driver: overlay
|
|
attachable: true |