Files
chorus-services/docker-compose.website-only.yml
tony 26079aa8da feat(infrastructure): Update deployment configs and add hosting documentation
- Update docker-compose.swarm.yml with latest service configurations
- Add docker-compose.website-only.yml for standalone website deployment
- Add domain_info.yaml with DNS and hosting configuration details
- Add hosting.md with deployment and infrastructure documentation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-02 22:18:46 +10:00

46 lines
1.5 KiB
YAML

# Docker Compose for Website-Only Deployment
# Minimal deployment for CHORUS Services marketing website
version: '3.8'
services:
# Marketing Website
chorus-website:
image: registry.home.deepblack.cloud/tony/chorus-website:latest
deploy:
replicas: 2
placement:
constraints:
- node.hostname == walnut
resources:
limits:
memory: 128M
reservations:
memory: 64M
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=80"
- "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"
ports:
- target: 80
published: 3100
protocol: tcp
mode: ingress
networks:
- tengig
- chorus_website_network
networks:
tengig:
external: true
chorus_website_network:
driver: overlay
attachable: true