services: site: image: gitea.hostxtra.co.uk/mrhid6/vantage/site:latest restart: unless-stopped ports: - 3001:3000 depends_on: - sitesvc sitesvc: image: gitea.hostxtra.co.uk/mrhid6/vantage/sitesvc:latest restart: unless-stopped ports: - 8082:8082 environment: PORT: "8082" # Must point at the same database the control plane uses, or the app # will not see organisations created here. The database name comes # from the URI path: # mongodb://user:pass@host:27017/vantage?authSource=vantage # A URI with no database is refused at boot rather than defaulted. MONGO_URI: ${MONGO_URI:-} # Public base URL of this service. Verification links are built from # it, so an unset or wrong value produces links that go nowhere. PUBLIC_URL: ${SITE_PUBLIC_URL:-} # Where a verified owner is sent to sign in. APP_LOGIN_URL: ${SITE_APP_LOGIN_URL:-} # Origins allowed to POST the forms. Unset means every cross-origin # browser request is refused. SITE_ORIGIN: ${SITE_ORIGIN:-} # Only enable behind a proxy that overwrites X-Forwarded-For; # otherwise clients can spoof their way past the rate limiter. TRUST_PROXY: ${SITE_TRUST_PROXY:-false} SMTP_HOST: ${SITE_SMTP_HOST:-} SMTP_PORT: ${SITE_SMTP_PORT:-587} SMTP_USERNAME: ${SITE_SMTP_USERNAME:-} SMTP_PASSWORD: ${SITE_SMTP_PASSWORD:-} SMTP_FROM: ${SITE_SMTP_FROM:-} SMTP_TO: ${SITE_SMTP_TO:-support@hostxtra.co.uk}