File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
modules/ROOT/partials/docker/image-proxy-service Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,30 @@ The following settings for the Image Proxy service premium server-side component
7474
7575=== Run the Docker Container
7676
77+ The Docker container can also be run with `docker compose`. In this example, the following directory structure is assumed:
78+
79+ [source,sh]
80+ ----
81+ tiny-image-proxy/
82+ │── docker-compose.yaml # Docker Compose file to define and run the service
83+ │── application.conf # Configuration file for allowed origins and other settings
84+ ----
85+
86+ Here is an example of the `application.conf` file with the basic configurations:
87+
88+ [source, conf]
89+ ----
90+ ephox {
91+ allowed-origins {
92+ origins = [
93+ "<http://example.com>",
94+ "<http://good.com> ",
95+ "*.my.company.org"
96+ ]
97+ }
98+ }
99+ ----
100+
77101Once the application configuration file is ready, proceed with the Docker Compose setup to configure and run the service.
78102
79103. Create the `docker-compose.yaml` file:
You can’t perform that action at this time.
0 commit comments