Skip to content

Deploy an Example Stack

The pingidentity-devops-getting-started repository contains all of our working Docker and Kubernetes examples.

What You'll Do

Use Git to clone the pingidentity-devops-getting-started repository, and Docker Compose to deploy the full stack example.


You have:

Clone the getting-started Repo

  1. Clone the pingidentity-devops-getting-started repository to your local ${PING_IDENTITY_DEVOPS_HOME} directory.

    The ${PING_IDENTITY_DEVOPS_HOME} environment variable was set when you ran pingctl config.

    git clone \

Deploy the Full Stack

  1. Deploy the full stack of our product containers.

    Initial Deployment

    For your initial deployment of the stack, you should avoid making changes to the docker-compose.yaml file to ensure you have a successful first-time deployment. For subsequent deployments, see Saving Your Configuration Changes.

    1. To start the stack, go to your local pingidentity-devops-getting-started/11-docker-compose/03-full-stack directory and enter:

      docker-compose up -d

      The full set of our DevOps images is automatically pulled from our repository if you haven't already pulled the images from Docker Hub.

    2. To display the logs as the stack starts, enter:

      docker-compose logs -f

      Enter Ctrl+C to exit the display.

    3. To display the status of the Docker containers in the stack:

    Choose from:

    • Enter docker ps (enter this at intervals).
    • Enter watch "docker container ls --format 'table {{.Names}}\t{{.Status}}'".

    For more information, see the Docker Compose Documentation.

  2. Sign on to the management consoles for the products.

    Product Connection Details
    Apache Directory Studio for PingDirectory
    • LDAP Port: 1636
    • LDAP BaseDN: dc=example,dc=com
    • Root Username: cn=administrator
    • Root Password: 2FederateM0re
  3. When you no longer want to run the stack, you can either stop or remove it.

    Choose from:

    • To stop the running stack without removing any of the containers, associated Docker networks, or volumes, enter:

      docker-compose stop
    • To stop the stack and remove all of the containers and associated Docker networks (volumes are still preserved), enter:

      docker-compose down