services:
    site:
        image: gitea.hostxtra.co.uk/mrhid6/vantage/site:latest
        restart: unless-stopped
        ports:
            - 3002: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: ${PUBLIC_URL:-}
            APP_LOGIN_URL: ${APP_LOGIN_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:
        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: ${MONGO_URI:-}
            REDIS_ADDR: ${ADMIN_REDIS_ADDR:-10.10.10.2:6379}
            REDIS_USERNAME: ${ADMIN_REDIS_USERNAME:-}
            REDIS_PASSWORD: ${ADMIN_REDIS_PASSWORD:-}
            LICENSE_SIGNING_KEY: ${LICENSE_SIGNING_KEY:-}
            PUBLIC_URL: ${ADMIN_PUBLIC_URL:-}
            ADMIN_ORIGIN: ${ADMIN_ORIGIN:-}
            TRUST_PROXY: ${TRUST_PROXY:-true}
            SMTP_HOST: ${SMTP_HOST:-}
            SMTP_PORT: ${SMTP_PORT:-587}
            SMTP_USERNAME: ${SMTP_USERNAME:-}
            SMTP_PASSWORD: ${SMTP_PASSWORD:-}
            SMTP_FROM: ${SMTP_FROM:-}
networks: {}
