Run the Docker Containers with Docker Compose
This topic guides you to run the Docker Containers with Docker Compose for Digital.ai Release.
To run the Docker image with Digital.ai Release, see Docker images for Release.
Version-specific Docker images for Digital.ai Release are published to Docker Hub:
Prerequisites
Before you start, ensure you have the following:
- Docker installed on your machine. You can download it from Docker's official website.
- Docker Compose installed. Follow the instructions on Docker Compose installation.
Run the Container Using the docker-compose.yaml
File
To start Digital.ai Release with a persistent setup:
- Download the Docker Compose file using the following command:
curl https://raw.githubusercontent.com/xebialabs/xl-docker-images/master/docker-compose-example/docker-compose.yaml > docker-compose.yaml
- Open the
docker-compose.yaml
file and change theADMIN_PASSWORD
to a secure password. - Run the file with Docker Compose:
docker-compose up -d
- Access Release at
http://localhost:5516/
.
After setup, you can remove the password from the docker-compose.yaml
file.
You must provide a valid license before you can log in. Browse to the URL above and paste the license for Digital.ai Release. If you do not have a license yet, apply for a Release trial license on the Digital.ai website.
Set Up Digital.ai Release Using Docker Compose
If you want to use Digital.ai Release with Docker Compose, you can use the following example configuration. This allows you to start the container and move all command line options into a file.
-
Create a file called
docker-compose.yaml
and copy the following contents into it:xlr:
image: xebialabs/xl-release:24.3.0
container_name: xlr
ports:
- "5516:5516" -
Start the container using the following command:
docker-compose up -d
-
The container will start, and the password can be viewed using this command:
docker logs xlr
-
Log in to Digital.ai Release with the admin password.
noteYou can run multiple Release containers by modifying the
docker-compose.yaml
file as needed.