* [#55776] added custom image for proxy
- based on caddy:2
- copy assets from openproject image into proxy image
* [#55776] removed static asset serving from proxy
- https://community.openproject.org/wp/55776
- apparently caddy correctly redirects asset requests to the web service
- yaml anchors do not support merging of lists
- to add specific volumes to a service, you cannot use an alias to
include shared volumes
- hence, every service should do the volume definition by itself, once
there is a single service that has a specific volume next to the common ones
* [#53464] replaced containered proxy with caddy
- running compose stack work with slim container now
- using caddy as a light weight proxy
- tested with and without OPENPROJECT_RAILS__RELATIVE__URL__ROOT
* rename doc root to avoid confusion, use slim as default container
---------
Co-authored-by: Markus Kahl <machisuji@gmail.com>
Instead of forcing the user to search available environment variables inside the docker config, it is appropriate to add a commented version of the key-value pairs.
While deploying stacks (`docker-compose`) using Portainer, the web interface does not allow the `.yml` file to have two `<<` tags in the same level. Therefore replacing two of them as one in brackets solves the issue.
This configuration works both with the Portainer web interface and the docker-compose cli without any problems.
Know more about Portainer at https://www.portainer.io/