From 82eb82fc069ba34dc275e891b3e819595cfae786 Mon Sep 17 00:00:00 2001 From: Tung Huynh <84435886+Tung-Huynh-Shopmacher@users.noreply.github.com> Date: Wed, 11 Sep 2024 11:47:58 +0700 Subject: [PATCH] Update SelfHostingDockerImage.md --- docs/SelfHostingDockerImage.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/SelfHostingDockerImage.md b/docs/SelfHostingDockerImage.md index 887a44b..c6599a3 100644 --- a/docs/SelfHostingDockerImage.md +++ b/docs/SelfHostingDockerImage.md @@ -30,9 +30,11 @@ Replace `your-image-name` with a name of your choice for the Docker image. After building the image, you can run the container using the following command: ```bash -docker run -p 8080:8080 your-image-name +docker run -e CTP_CLIENT_ID="CTP_CLIENT_ID" -e CTP_CLIENT_SECRET="CTP_CLIENT_SECRET" -p 8080:8080 your-image-name ``` +Please refer to [.env.example](https://github.com/mollie/commercetools-connector/blob/main/processor/.env.example) for full list of required environment variables + This command maps port 8080 of the container to port 8080 on your host machine. ### Accessing the Application