/saucedemo-docker

A docker container of the sample-app-web from Sauce Labs with A/B deployment options

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Docker Container for Sauce Labs Sample App - Web

This docker container will provide the sample web app from SauceLabs on port 3000, including a slightly modified version, that will alter the login page, in order to demonstrate AutonomIQ's self healing capabilities.

Configuration options

Environment Variables

The following environmental variables can be used for configuration:

  • BRANCH
    default or empty for the original version, diff for the altered version.
  • PORT
    The port to listen on. Defaults to 3000.

docker-compose example

For a helper script to quickly switch between the two versions and required assets, see docker-compose.d.

The helper scripts can be easily installed by running the following command in the subdirectory, where you want your script to be stored (the setup expects a working docker + docker-compose setup and a running nginx-proxy and acme-companion container within the externally steilerGroup network):

bash -s < <(curl -s https://raw.githubusercontent.com/steilerDev/saucedemo-docker/main/install.sh)