Skip to content

Commit e355815

Browse files
Update modules/ROOT/partials/docker/image-proxy-service/image-proxy-service-installation.adoc
Co-authored-by: Karl Kemister-Sheppard <[email protected]>
1 parent 7bbac31 commit e355815

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

modules/ROOT/partials/docker/image-proxy-service/image-proxy-service-installation.adoc

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
77101
Once 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:

0 commit comments

Comments
 (0)