To set up a local instance of the ADL LRS using Docker, follow these steps to clone the repository, configure environment files, and build the containers. Note that the LRS service may take several minutes to become fully available after the containers start due to dependencies on RabbitMQ and Postgres.
Quickstart Steps
- Clone the repository:
git clone https://github.com/adlnet/ADL_LRS - Navigate to the docker directory:
cd ADL_LRS/docker - Prepare configuration files:
cp .env.example .envcp settings.ini.example settings.ini
- Install prerequisites:
sudo install-reqs.sh - Initialize local SSL (for localhost):
sudo init-ssl.sh localhost - Build and start containers:
sudo rebuild.sh (or use docker-compose directly).
Monitoring the Setup
You can monitor the startup process and check for errors using:
sudo docker logs -f docker_lrs
Once complete, the LRS should be accessible at https://localhost:8000 (unless the port was changed in the docker-compose file).
git clone https://github.com/adlnet/ADL_LRS
cd ADL_LRS/docker
cp .env.example .env
cp settings.ini.example settings.ini
sudo install-reqs.sh
sudo init-ssl.sh localhost
sudo rebuild.sh