Starting XL JetPack containers


#1

Can I start both XL JetPack Docker containers at the same time?


Connecting XL JetPack Release and Deploy
#2

Yes, you can use Docker Compose to start multiple containers at once. This is also a good idea because it will put the containers in the same network (see Networking in Compose).

You can create a Docker Compose file that points to the Docker images (be sure to update the version for the one you want). For example, say you have this docker-compose.yml file:

version: '3'
services:
  xl-deploy:
    image: xebialabs/xl-jetpack-deploy:8.5
    ports:
    - "4516:4516"
    environment:
    - ADMIN_PASSWORD=${ADMIN_PASSWORD}
    - ACCEPT_EULA=${ACCEPT_EULA}
  xl-release:
    image: xebialabs/xl-jetpack-release:8.5
    ports:
    - "5516:5516"
    environment:
    - ADMIN_PASSWORD=${ADMIN_PASSWORD}
    - ACCEPT_EULA=${ACCEPT_EULA}

And an .env file that provides values for the variables in curly brackets:

ACCEPT_EULA=Y
ADMIN_PASSWORD=admin123

Docker Compose will automatically create a network and associate it with both containers, as described in Networking in Compose. You can also specify the network name in the Docker Compose file, if you want.