Skip to content

1.2. Docker Compose Deployment

Jimmy Bourque edited this page Nov 30, 2026 · 1 revision

Français

Docker Compose deployment with Microsoft Entra Application Proxy

This deployment runs the OraklLearn services as Windows containers on a private host and publishes only the Web API and Admin API through Microsoft Entra Application Proxy. The Catalog, Generator and Indexer services remain private and are not published on host ports.

OraklLearn Docker Compose deployment with Microsoft Entra Application Proxy

Deployment topology

Component Location Exposure
Web API Docker Compose, edge and application networks Host port 9500, published through Application Proxy
Admin API Docker Compose, edge and application networks Host port 9501, published through Application Proxy when required
Catalog Docker Compose, application network No host port; reachable as http://jbtievolution.orakllearn-catalog:8080
Generator fast/moderated/slow Docker Compose, workers network No host port; consumes Service Bus queues
Indexer Docker Compose, workers network No host port; consumes the indexing queue
Azure Service Bus External Azure dependency Outbound only; queues fast, moderated, slow and indexing
Azure Blob Storage External Azure dependency Outbound only; catalog, profiles, traces and working data
OpenAI External AI dependency Outbound only; text, image and audio generation
Entra Private Network Connector Private network Outbound connector tunnel to the published host ports

The Compose networks are intentionally not declared with internal: true, because the services require outbound access to Azure Storage, Azure Service Bus and OpenAI. Network membership still prevents workers from directly reaching the web edge or Catalog.

Docker external dependencies

The Docker services do not host Service Bus or Blob Storage locally. They connect outbound to the configured Azure resources:

  • Azure Service Bus: the Web API publishes work messages and the Generator/Indexer containers consume the configured queues. The queue names used by the Compose configuration are fast, moderated, slow and indexing.
  • Azure Blob Storage: the Web API, Admin API, Catalog, Generator and Indexer use the configured storage account and containers for profiles, transaction traces, catalog content, editor caches, revision projects and working files. Browser-delivered media uses SAS URLs and the configured AllowedBlobOrigins CSP value.
  • OpenAI: Generator services call the configured OpenAI endpoints for content and media generation.

These dependencies require outbound connectivity from the Docker host or containers. They do not require inbound ports on the Windows host. Keep their connection strings, account keys and API keys in .containers-envs-secrets; do not commit them to the repository.

For a private-network deployment, allow the Docker host or its egress path to resolve and reach the Azure endpoints over HTTPS. If firewall rules restrict outbound traffic, allow Azure Service Bus, Blob Storage and OpenAI endpoints used by the configured tenant and region.

Prerequisites

  • A Windows host running Docker with Windows container support.
  • A Microsoft Entra tenant and permission to create Enterprise Applications and Application Proxy publications.
  • A Microsoft Entra Private Network Connector installed on a machine that can reach the Docker host.
  • DNS names for the portal and, if required, the administrator site, for example:
    • orakllearn.example.com
    • admin.orakllearn.example.com

OL CLI

Use the CLI to deploy the platform.

Clone this wiki locally