---
title: "Deploy the TinyMCE Hyperlinking server-side component using Docker"
description: "How-to deploy the TinyMCE Hyperlinking server-side component using Docker."
canonical_url: "https://www.tiny.cloud/docs/tinymce/latest/individual-hyperlinking-container/"
md_url: "https://www.tiny.cloud/docs/tinymce/7/individual-hyperlinking-container/index.md"
version: "7"
last_updated: "2025-09-23T06:03:54Z"
tokens: 3930
---
Important This page documents TinyMCE 7. For new projects, Tiny recommends using the latest, most up-to-date version. [See TinyMCE 8 documentation](../../latest/individual-hyperlinking-container/).
# Deploy the TinyMCE Hyperlinking server-side component using Docker

## Overview

The On-Premises version of the [Link Checker](/tinymce/features/link-checker/) and [Enhanced Media Embed](/tinymce/features/enhanced-media-embed/) is an application that can be installed and run on the customer’s in-house servers and computing infrastructure, including a private cloud.

The only requirement to run these services On-Premises is a container runtime or orchestration tool e.g. Docker, Kubernetes, Podman.

A valid access token is required to access the Tiny Cloud Docker registry and pull the Docker image. Contact [Tiny Support](/contact/) to request the access token.

> **Warning:** Pushing this Docker image to a public container registry violates the Tiny Self-Hosted Software License Agreement, *including*:
> 
> - [The Tiny Self-Hosted Software License Agreement - (Enterprise Users)](/legal/tiny-self-hosted-enterprise-agreement/).
> - [The Tiny Self-Hosted Software License Agreement - (OEM & SaaS Users)](/legal/tiny-self-hosted-oem-saas-agreement/).

## Requirements

- The [Docker Engine](https://docs.docker.com/engine/docker-overview/) is installed and running.
- The user has Administrative or Root user access to run the Docker commands.
- The user is either:

  - Using a Unix-like operating system, such as Linux or macOS.
  - Using Windows and has access to unix command line tools using [Git for Windows](https://gitforwindows.org/), [Cygwin](https://www.cygwin.com/), or the [Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/install-win10).

## Installation

> **Important:** A valid access token is **required** in order to retrieve On-Premises services images from Tiny Cloud Docker Registry. [Contact Tiny Support](/contact/) to request the access token.

### Retrieve Docker Image

1. Login into the Tiny Cloud Docker Registry:

```sh
docker login -u tiny -p [access-token] registry.containers.tiny.cloud
```
2. Pull the Docker Image from the Docker registry:

```sh
docker pull registry.containers.tiny.cloud/hyperlinking-tiny:<VERSION>
```
Replace `<VERSION>` with `latest` or the specific version number.

> **Note:** Currently, the Docker images are only supported on x86-64 (also known as AMD64) architecture processors.

### Specify Configurations

After completing the previous steps, run the Docker container from the pulled image:

```sh
docker run -p 19100:19100 registry.containers.tiny.cloud/hyperlinking-tiny:<VERSION>
```
This triggers `-p 19100:19100`, exposing the service on `localhost:19100`. The service runs on port `19100` inside the Docker container, and this maps it to the same port on your localhost.

If set up correctly, the logs should display output similar to the following:

```log
2025-09-15 04:46:17 [io-compute-3] INFO  navi - navi
...
2025-09-15 04:46:17 [io-compute-blocker-3] INFO  navi - -> Raw Config assembled from various sources: ConfigOrigin(merge of /app/application.conf: 1,system properties,reference.conf @ jar:file:/app/navi.jar!/reference.conf: 1)
2025-09-15 04:46:17 [io-compute-blocker-3] WARN  c.e.d.config.AllowedOriginsConfig$ - No allowed-origins specified in config!
2025-09-15 04:46:17 [io-compute-blocker-3] WARN  c.e.d.config.AllowedOriginsConfig$ - No allowed-origins specified in config!
2025-09-15 04:46:17 [io-compute-blocker-3] INFO  navi - navi config loaded successfully: NaviConfig(LinkCheckerConfig(true,ReturnUnknown),true,CacheConfig(10000,86400 seconds,3600 seconds),SdkServiceWithClientConfig(HttpConfig(100,10,10,3,HttpConfigTimeouts(10,10,10),JvmTrustModel()),None,OriginWhitelist(List(),OriginPrecision(true))),SelfHostedMediaSourcesConfig(CustomEmbedPlugins(UrlTrie(Branch(None,TreeMap()),Branch(None,TreeMap()))),None),OriginWhitelist(List(),OriginPrecision(true)),Logger[navi])
2025-09-15 04:46:18 [io-compute-blocker-3] INFO  o.h.b.c.nio1.NIO1SocketServerGroup - Service bound to address /[0:0:0:0:0:0:0:0]:19100
2025-09-15 04:46:18 [io-compute-blocker-3] INFO  o.h.blaze.server.BlazeServerBuilder -
  _   _   _        _ _
 | |_| |_| |_ _ __| | | ___
 | ' \  _|  _| '_ \_  _(_-<
 |_||_\__|\__| .__/ |_|/__/
             |_|
2025-09-15 04:46:18 [io-compute-blocker-3] INFO  o.h.blaze.server.BlazeServerBuilder - http4s v0.23.27 on blaze v0.23.16 started at http://[::]:19100/
```
Running this command will generate a log warning about `allowed-origins` not being configured. This is expected, as it will be set up in the next step.

The TinyMCE server-side components require a configuration file to function correctly. By convention, this file is named `application.conf`. For more information, refer to [Required configuration for the server-side components](/docs/tinymce/latest/configure-required-services/).

This configuration file requires at least the following information:

- allowed-origins - Specifies the domains allowed to communicate with server-side editor features. This is **mandatory** for all server-side components.

The following settings for the premium server-side components are *optional* and will apply to all services that make outgoing HTTP/HTTPS requests using the configuration file.

- [proxy configuration](/docs/tinymce/latest/configure-common-settings-services/#proxy)
- [http configuration](/docs/tinymce/latest/configure-common-settings-services/#http)

The following settings for the Hyperlinking premium server-side component are *optional*:

- [link-checking configuration](/docs/tinymce/latest/configure-hyperlink-service/#link-checking)
- [cache configuration](/docs/tinymce/latest/configure-hyperlink-service/#cache)

The Enhanced Media Embed service allows the use of a custom [Iframely](../mediaembed-server-config/#use-your-own-iframely-account) account, configured [oEmbed](../mediaembed-server-config/#configure-a-custom-endpoint) endpoints, or a combination of both. If a URL lacks an `Iframely` or `oEmbed` configuration, the service generates a summary card.

> **Tip:** A summary card is an embeddable snippet of code created based on the available metadata and content detected at the URL. This ensures that even if no predefined embedding method is configured, the service can still provide a structured and visually consistent media representation.
When media is inserted into content, the service follows this sequence:

1. Check if the URL matches any custom [oEmbed](/docs/tinymce/latest/mediaembed-server-config/#configure-a-custom-endpoint) configuration. If that fails,
2. If [Iframely](/docs/tinymce/latest/mediaembed-server-config/#use-your-own-iframely-account) is configured, query the Iframely API. If Iframely is not configured,
3. Create a summary card.

The following settings for the Enhanced Media Embed service are *optional*:

- [Iframely account configuration](/docs/tinymce/latest/mediaembed-server-config/#use-your-own-iframely-account)
- [oEmbed customs configuration](/docs/tinymce/latest/mediaembed-server-config/#configure-a-custom-endpoint)

### Run the Docker Container

The Docker container can also be run with `docker compose`. In this example, the following directory structure is assumed:

```sh
hyperlinking-service/
├── application.conf
└── docker-compose.yaml
```
Here is an example of the application.conf file with the basic configurations:

```conf
ephox {

  allowed-origins {
    origins = [
      "http://example.com",
      "http://good.com",
      "*.my.company.org"
    ]
  }

}
```
Once the application configuration file is ready, proceed with the Docker Compose setup to configure and run the service.

1. Create the `docker-compose.yaml` file:

```yaml
services:
  hyperlinking-tiny:
    image: registry.containers.tiny.cloud/hyperlinking-tiny:<VERSION>
    ports:
      - "19100:19100"
    restart: always
    init: true
    volumes:
      - type: bind
        source: ./application.conf #change this to the path on your local machine
        # Use the below target path if using any version below 2.109.6.
        # target: /ephox-hyperlinking/ephox-hyperlinking-docker-env.conf
        target: /app/application.conf
        read_only: true
```

> **Note:** From version 2.109.6 onwards, the `target` path in the `volumes` option must point to `/app/application.conf`.
2. Run the service (within the same directory where `docker-compose.yaml` was placed):

```sh
docker compose up
```
If the setup is correct, the initiation logs should appear as follows:

```log
✔ Container hyperlinking-tiny-hyperlinking-tiny-1                                                                                                                         Created        0.1s
Attaching to hyperlinking-tiny-1
hyperlinking-tiny-1  | 2025-09-15 04:57:29 [io-compute-7] INFO  navi - navi
...
-> Found value for property: /app/application.conf
hyperlinking-tiny-1  | 2025-09-15 04:57:29 [io-compute-blocker-7] INFO  navi -       * Parsing config defined by /app/application.conf from property: ephox.config.file
hyperlinking-tiny-1  | 2025-09-15 04:57:29 [io-compute-blocker-7] INFO  navi -         -> Processing file: /app/application.conf
hyperlinking-tiny-1  | 2025-09-15 04:57:29 [io-compute-blocker-7] INFO  navi -   * External application.conf => /opt/ephox/application.conf
hyperlinking-tiny-1  | 2025-09-15 04:57:29 [io-compute-blocker-7] INFO  navi -     * Optional File (/opt/ephox/application.conf). Defaults to empty if file not found
hyperlinking-tiny-1  | 2025-09-15 04:57:29 [io-compute-blocker-7] INFO  navi - * Internal Configuration
hyperlinking-tiny-1  | 2025-09-15 04:57:29 [io-compute-blocker-7] INFO  navi -   -> No extra internal configuration specified - skipping
hyperlinking-tiny-1  | 2025-09-15 04:57:29 [io-compute-blocker-7] INFO  navi - * Default (Reference) Configuration
hyperlinking-tiny-1  | 2025-09-15 04:57:29 [io-compute-blocker-7] INFO  navi -   * Loading configuration files from classpath (reference.conf and integration.conf). Neither is required.
hyperlinking-tiny-1  | 2025-09-15 04:57:29 [io-compute-blocker-7] INFO  navi - -> Raw Config assembled from various sources: ConfigOrigin(merge of /app/application.conf: 1,system properties,reference.conf @ jar:file:/app/navi.jar!/reference.conf: 1)
hyperlinking-tiny-1  | 2025-09-15 04:57:29 [io-compute-blocker-7] INFO  c.e.d.config.AllowedOriginsConfig$ - Read allowed-origins config (ignoring ports = true) as:
hyperlinking-tiny-1  |  - localhost:8000
hyperlinking-tiny-1  |  - example.com
hyperlinking-tiny-1  |  - good.com
hyperlinking-tiny-1  |  - my.company.org
hyperlinking-tiny-1  | 2025-09-15 04:57:29 [io-compute-blocker-7] INFO  c.e.d.config.AllowedOriginsConfig$ - Read allowed-origins config (ignoring ports = true) as:
hyperlinking-tiny-1  |  - localhost:8000
hyperlinking-tiny-1  |  - example.com
hyperlinking-tiny-1  |  - good.com
hyperlinking-tiny-1  |  - my.company.org
hyperlinking-tiny-1  | 2025-09-15 04:57:29 [io-compute-blocker-7] INFO  navi - navi config loaded successfully: NaviConfig(LinkCheckerConfig(true,ReturnUnknown),true,CacheConfig(10000,86400 seconds,3600 seconds),SdkServiceWithClientConfig(HttpConfig(100,10,10,3,HttpConfigTimeouts(15,15,15),JvmTrustModel()),None,OriginWhitelist(List(localhost:8000, example.com, good.com, my.company.org),OriginPrecision(true))),SelfHostedMediaSourcesConfig(CustomEmbedPlugins(UrlTrie(Branch(None,TreeMap()),Branch(None,TreeMap(org -> Branch(None,TreeMap(wikipedia -> Branch(None,TreeMap(en -> Branch(Some(PathMatcher(List((wiki/.*,WikipediaEmbedPlugin(https://en.wikipedia.org/w/api.php,10))))),TreeMap()))))))))),None),OriginWhitelist(List(localhost:8000, example.com, good.com, my.company.org),OriginPrecision(true)),Logger[navi])
hyperlinking-tiny-1  | 2025-09-15 04:57:30 [io-compute-blocker-7] INFO  o.h.b.c.nio1.NIO1SocketServerGroup - Service bound to address /[0:0:0:0:0:0:0:0]:19100
hyperlinking-tiny-1  | 2025-09-15 04:57:30 [io-compute-blocker-7] INFO  o.h.blaze.server.BlazeServerBuilder -
hyperlinking-tiny-1  |   _   _   _        _ _
hyperlinking-tiny-1  |  | |_| |_| |_ _ __| | | ___
hyperlinking-tiny-1  |  | ' \  _|  _| '_ \_  _(_-<
hyperlinking-tiny-1  |  |_||_\__|\__| .__/ |_|/__/
hyperlinking-tiny-1  |              |_|
hyperlinking-tiny-1  | 2025-09-15 04:57:30 [io-compute-blocker-7] INFO  o.h.blaze.server.BlazeServerBuilder - http4s v0.23.27 on blaze v0.23.16 started at http://[::]:19100/
```

### Next Steps

1. Test the service via `cURL` command

To verify that the Hyperlinking service is set up and functioning correctly within the container, ensure the service is running on port `19100`. Once active, it should be ready to receive requests. The expected outputs below confirm proper configuration, assuming `http://good.com` is in the allowed origins and `http://bad.com` is not.

To check the service is running use:

```sh
curl http://localhost:19100/version
```
An example output is: `2.109.0`

To confirm that a request is being sent to the Link Checker service, use:

```sh
curl --location 'http://localhost:19100/1/check' \
--header 'Origin: http://good.com' \
--header 'Content-Type: application/json' \
--data '{ "urls": [{"url":"http://google.com"}, {"url": "http://youtube.com"}, {"url":"http://google.com/404"}, {"url":"https://ephox.."}]}'
```
Finally, to verify if a request is unauthorized and originates from an incorrect origin, use:

```sh
curl --location 'http://localhost:19100/1/check' \
--header 'Origin: http://bad.com' \
--header 'Content-Type: application/json' \
--data '{ "urls": [{"url":"http://google.com"}, {"url": "http://youtube.com"}, {"url":"http://google.com/404"}, {"url":"https://ephox.."}]}'
```
If an error occurs,  the expected message is: `{ "message": "The supplied authentication is not authorized to access this resource" }`.
2. Test directly in TinyMCE

Before deploying, it is recommended to test this service within the TinyMCE editor itself.

To do this, configure the [Link Checker](/docs/tinymce/latest/linkchecker/) and [Enhanced Media Embed](/docs/tinymce/latest/introduction-to-mediaembed/) features in the editor and call them via `tinymce.init`. If running locally on the default port `19100`, use the following settings:

```js
tinymce.init({
  selector: 'textarea', // change this value according to your HTML
  plugins: 'code image link linkchecker autolink code',
  toolbar: 'image link code',
  linkchecker_service_url: "http://localhost:19100",
  mediaembed_service_url: "http://localhost:19100"
});
```
