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>
This commit is contained in:
46
docker-compose.website-only.yml
Normal file
46
docker-compose.website-only.yml
Normal file
@@ -0,0 +1,46 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user