mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-12 02:12:15 +01:00
* adding URL conversions * updating gotenberg version in documentation * pkg: input as variadic string (#39) * pkg: input as variadic string * pkg: fix link to github doc * update doc about v4 client * make doc * fixing missing variadic inputs in doc * adding more fonts * updating PHP documentation
27 lines
549 B
Markdown
27 lines
549 B
Markdown
---
|
|
title: Scalability
|
|
---
|
|
|
|
The API being stateless, you may scale it as much as you want.
|
|
|
|
For instance, using the following Docker Compose file:
|
|
|
|
```yaml
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
# your others services
|
|
|
|
gotenberg:
|
|
image: thecodingmachine/gotenberg:4
|
|
```
|
|
|
|
You may now launch your services using:
|
|
|
|
```bash
|
|
$ docker-compose up --scale gotenberg=your_number_of_instances
|
|
```
|
|
|
|
When requesting the Gotenberg service with your client(s), Docker will automatically
|
|
redirect a request to a Gotenberg container according to the round-robin strategy. |