services: site: image: gitea.hostxtra.co.uk/mrhid6/vantage/site:latest restart: unless-stopped ports: - 3003:3000 depends_on: - sitesvc sitesvc: image: gitea.hostxtra.co.uk/mrhid6/vantage/sitesvc:latest restart: unless-stopped ports: - 8082:8082 environment: PORT: "8082" PUBLIC_URL: ${PUBLIC_URL:-} SITE_ORIGIN: ${SITE_ORIGIN:-} TRUST_PROXY: ${SITE_TRUST_PROXY:-false} SMTP_HOST: ${SMTP_HOST:-} SMTP_PORT: ${SMTP_PORT:-587} SMTP_USERNAME: ${SMTP_USERNAME:-} SMTP_PASSWORD: ${SMTP_PASSWORD:-} SMTP_FROM: ${SMTP_FROM:-} SMTP_TO: ${SMTP_TO:-support@hostxtra.co.uk} # admin and adminsite are NOT here. They live in the vantage-admin # repository, which carries its own fragment; the host composes all three # files together: # # docker compose \ # -f vantage/deploy/docker/docker-compose.yml \ # -f vantage/deploy/docker/docker-compose.site.yml \ # -f vantage-admin/deploy/docker-compose.yml \ # up -d # # LICENSE_SIGNING_KEY went with them, and must never appear in this file: # admin is the only signer and the control plane must not hold the key. # Static docs, served by nginx at vantage.hostxtra.co.uk/docs through its own # proxy location. That location must sort ABOVE the catch-all forwarding to # site:3003, or Next serves its own 404 for /docs. The container serves from # /usr/share/nginx/html/docs because the proxy forwards the full path. docsite: image: gitea.hostxtra.co.uk/mrhid6/vantage/docsite:latest restart: unless-stopped ports: - 3005:80 networks: {}