Build using prebuilt configuration

Use this option when you want to build from a prebuilt WProofreader base image.

It does not require an installation package. The Dockerfile pulls the base image from Docker Hub.

What you need

Build the image

Required build arguments

  • TAG: the base image tag. It must include the -base suffix. Example: "6.10.0.0-base".

circle-info

The list of available tags is on Docker Hubarrow-up-right.

Common build arguments

  • WPR_LICENSE_TICKET_ID: activates the license during the build.

  • WPR_LANGUAGES: comma-separated locales.

  • WPR_AI_MODELS: comma-separated AI model IDs.

  • WPR_PROTOCOL: 1 (HTTPS) or 2 (HTTP).

  • WPR_DOMAIN_NAME: hostname used by samples.

  • WPR_VIRTUAL_DIR: virtual directory name.

Example:

circle-info

For language short codes, see Supported languagesarrow-up-right.

Run the container

Use --env at runtime.

Full list of runtime options is in the READMEarrow-up-right.

Example (HTTP):

Mount dictionaries and certificates

Mounts are optional. Use them for persistence and for HTTPS.

Persist dictionaries and style guide

Mount /dictionaries to persist shared data outside the container.

It stores:

  • User custom dictionaries

  • Organization custom dictionaries

  • Style Guide data

Use this mount if you:

  • recreate containers and need the data to survive

  • run several containers and want them to use shared resources

Example:

Use your own TLS certificate

Mount /certificate and provide these files:

  • cert.pem

  • key.pem

Example (HTTPS):

Verify work

Use the checks from the READMEarrow-up-right.

The two common endpoints are:

  • Version: http(s)://<host>/<virtual_dir>/api?cmd=ver

  • Status: http(s)://<host>/<virtual_dir>/api?cmd=status

Next steps

Last updated

Was this helpful?