Skip to content

Commit

Permalink
OPSEXP-3014: add missing doc for max file upload settings for compose (
Browse files Browse the repository at this point in the history
  • Loading branch information
alxgomz authored Feb 26, 2025
1 parent e7ce43d commit 8d5070d
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions docs/docker-compose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -408,11 +408,9 @@ share:

### Alfresco Proxy (proxy)

We used to maintain and ship a ustom nginx image for Alfresco docker compose
deployments. This image is now deprecated and replaced by Traefik. Traefik is a
modern HTTP reverse proxy and load balancer that makes deploying microservices
easy. In particular it makes dynamic configuration easy and integrates with
docker compose using
Traefik is a modern HTTP reverse proxy and load balancer that makes deploying
microservices easy. In particular it makes dynamic configuration easy and
integrates with docker compose using
[labels](https://docs.docker.com/reference/compose-file/deploy/#labels).

Please refer to Traefik documentation for more information on how to configure
Expand All @@ -423,6 +421,13 @@ it:
* [Traefik middlewares](https://doc.traefik.io/traefik/middlewares/overview/)
* [Traefik TLS](https://doc.traefik.io/traefik/https/tls/)

In particular you may want to tweak the max file upload settings. This is
handled by the Traefik routing & buffering middleware. Check out
[maxRequestBodyBytes](https://doc.traefik.io/traefik/middlewares/http/buffering/#maxrequestbodybytes)
and [readTimeouts](https://doc.traefik.io/traefik/routing/entrypoints/#respondingtimeouts)
for details and amend compose services labels accordingly to your needs (these
labels are used in alfresco & share services).

## Customise

To customise the Docker Compose deployment, for example applying AMPs, we recommend following the best practice of creating your own custom Docker image(s). The [Customisation Guide](./examples/customisation-guidelines.md) walks you through this process.
Expand Down

0 comments on commit 8d5070d

Please sign in to comment.