Quickstart Guide with Docker (HTTPS)
Installing Aspire with this approach is NOT production recommended. However, it can be used as an accelerator for production deployments.
Prerequisites
Docker 20.10.X and up.
If using macOS or Windows, install Docker Desktop
Resources for macOS/Windows Docker Desktop
Docker Desktop → Preferences → Resources → Advanced
2 CPUs
8 GB Memory
A valid Aspire account and Aspire 5 License (see Aspire Registration and Licensing)
Download
Installation Process
Unzip the aspire-quickstart.zip file
(If macOS or Windows) Install Docker Desktop from the official site.
Set the resources for Docker Desktop to at least 2 CPUs, 8 GB memory, and 1 GB swap (at Preferences → Resources → Advanced).
Enable file sharing on the unzipped aspire-quickstart folder (at Preferences → Resources → File Sharing).
Open a command line terminal and log in to the Artifactory Docker registry:
$ docker login accenturesca.jfrog.ioYou will be prompted for your credentials (registered email and password)
If you can't remember the credentials, write to SCAAssetsSupport@accenture.com; these would be shared with you when you request the account and license. This step is required so Docker can download the official images of Aspire.
Copy your AspireLicense.lic to aspire-quickstart/config/
Only Aspire 5 licenses are valid
Execute the installation scripts from the command line terminal:
install-quickstart.sh if macOS or Linux
On Linux, before executing the script, give it execution permissions: chmod +x install-quickstart.sh
install-quickstart.bat if Windows
Wait until all containers have started:
It may take several minutes for Aspire to download all the required components and start.
Now you should be able to access Aspire at https://localhost:50443/.
Login with admin1 / 123456abC
Happy crawling with Aspire5!
Accessing using a web browser
The quick-start installation script does not make use of real HTTPS certificates; rather, it creates and self-signs one certificate for each service since it was only designed to provide a DEMO installation. Do NOT expose these services publicly or use them in production environments.
Many web browsers don't allow opening sites with untrusted certificates. We recommend using Firefox or Chrome to interact with the services. You will be warned that you are about to get into a "Potential Security Risk" which is expected due to the untrusted nature of these certificates; just click on the “Accept the Risk and Continue” option.
If using Chrome on Mac, open Chrome using the following command prompt:
Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --ignore-certificate-errors --ignore-urlfetcher-cert-requests &> /dev/null
Uninstall the quick-start containers
Execute uninstall-quickstart.sh if macOS or Linux.
Execute uninstall-quickstart.bat if Windows.
What has been installed with these scripts?
The current quick-start guide installs the following containers:
Elasticsearch / Kibana
Elasticsearch
With Basic Authentication enabled (elastic / 123456abC)
Kibana
OpenLDAP
For Aspire to authenticate users
Aspire5 (with HTTPS and authentication enabled)
Manager
Coordinates job execution
Worker
Executes job scanning, fetching, processing, and publication
Want to know more about the quick start?
The current quick-start scripts execute the following steps in order:
Creates Docker volumes for persistent storage (Elasticsearch indexes, SSL certificates, LDAP directory) and a network for all the containers to communicate with each other.
Generates self-signed certificates and CA for Elasticsearch, Kibana and Aspire nodes (see generate-ssl.[sh/bat])
Copies the certificates to the Docker volumes previously created.
If you want to do this for an on-premise installation, follow Enable HTTPS.
Starts Elasticsearch and Kibana
The elasticsearch/docker-compose.yml contains a service that runs once to upload the Kibana Dashboard at elasticsearch/export.ndjson
Uses the certificate docker volumes to obtain and configure the certificates
Uploading of settings and Aspire License to Elasticsearch (see update-settings-license.[sh/bat])
Uses the same Aspire Docker image to do it; the same env properties are provided for the Elasticsearch authentication and SSL certificate trusting.
Starts the LDAP service
Copies the LDIF folder with preloaded configuration into the LDAP directory docker volume
Starts the ldap/docker-compose.yml
Starts Aspire service using aspire/docker-compose.yml
All Docker containers share the same environment variables in the .env file; this is not recommended for production deployments but simplifies the management of variables for the quick-start scripts.