Adds admin to docker-compose.site.yml and a fourth Go image to the build workflow, both following the conventions the other services already use. LICENSE_SIGNING_KEY now appears in exactly one service in exactly one compose file. It must never be added to server, and the self-hosted docker-compose.yml still does not mention admin at all. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
54 lines
1.9 KiB
YAML
54 lines
1.9 KiB
YAML
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"
|
|
MONGO_URI: ${MONGO_URI:-}
|
|
PUBLIC_URL: ${SITE_PUBLIC_URL:-}
|
|
APP_LOGIN_URL: ${SITE_APP_LOGIN_URL:-}
|
|
SITE_ORIGIN: ${SITE_ORIGIN:-}
|
|
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}
|
|
|
|
# The licensing authority. LICENSE_SIGNING_KEY appears in exactly one
|
|
# service in exactly one compose file: here. It must never be added to
|
|
# `server`, and docker-compose.yml -- the self-hosted deployment -- must
|
|
# not mention admin at all.
|
|
admin:
|
|
image: gitea.hostxtra.co.uk/mrhid6/vantage/admin:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- 8083:8083
|
|
environment:
|
|
PORT: "8083"
|
|
ADMIN_MONGO_URI: ${ADMIN_MONGO_URI:-}
|
|
CONTROL_MONGO_URI: ${CONTROL_MONGO_URI:-}
|
|
REDIS_ADDR: redis:6379
|
|
LICENSE_SIGNING_KEY: ${LICENSE_SIGNING_KEY:-}
|
|
PUBLIC_URL: ${ADMIN_PUBLIC_URL:-}
|
|
ADMIN_ORIGIN: ${ADMIN_ORIGIN:-}
|
|
TRUST_PROXY: ${ADMIN_TRUST_PROXY:-true}
|
|
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:-}
|
|
depends_on:
|
|
- redis
|