diff --git a/sources/README.md b/sources/README.md index f8e3e6ba..849e461b 100644 --- a/sources/README.md +++ b/sources/README.md @@ -2,25 +2,19 @@ The steps below show how to run locally an AEMaaCS image that has embedded PureSight, WKND, and the AEM Connector. -1. Download the `aem-author-cloud.tar.gz` file with the image from Google Drive: https://drive.google.com/file/d/1XJXIlGntz5h-cI0ltFPq-zrEjQNcPeMh/view?usp=drive_link. +1. Build the `aem-author-cloud` Docker image as described in the https://github.com/streamx-dev/demo-puresight-aem/blob/main/README.md. -2. Load the downloaded image: - ```bash - docker load < aem-author-cloud.tar.gz - ``` - -3. Confirm the image loaded successfully: - ```bash - docker images | grep aem-author-cloud - ``` +1. Run the Docker container with `./sources/start-aem.sh` script. -4. Run the Docker container. You can optionally pass a **StreamX client URL** as the first argument and a **StreamX client auth token** as the second argument. - If the second argument is not provided, it defaults to an empty token (no authentication is attempted). - You can also **explicitly** pass an empty token by placing `""` as the second argument. **Examples:** ```bash + # Run with the default URL and default token (default toke is empty) + ./sources/start-aem.sh + # Pass URL only, token is empty by default ./sources/start-aem.sh http://host.docker.internal:8080 @@ -31,7 +25,9 @@ The steps below show how to run locally an AEMaaCS image that has embedded PureS ./sources/start-aem.sh https://my-streamx.example.com "" ``` -5. Once the AEM instance is running, it is accessible at: +1. Once the AEM instance is running, it is accessible at: ```text http://localhost:4502 ``` + +1. To run a related StreamX instance that will be used by the AEM, refer to the main [README](../README.md). diff --git a/sources/docker-compose.yml b/sources/docker-compose.yml index 362d846e..c5197460 100644 --- a/sources/docker-compose.yml +++ b/sources/docker-compose.yml @@ -32,6 +32,10 @@ services: published: 4502 protocol: tcp mode: host + - target: 8888 + published: 8888 + protocol: tcp + mode: host volumes: aem-author-cloud-data: