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

You'll use Git to clone the pingidentity-devops-getting-started repository, and Docker Compose to deploy the full stack example.

Prerequisites

  • You've already set up your DevOps environment. See Get Started.
  • Installed Git

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 ping-devops config.

    cd "${PING_IDENTITY_DEVOPS_HOME}"
    git clone \
      https://github.com/pingidentity/pingidentity-devops-getting-started.git
    

Deploy the Full Stack

  1. Deploy the full stack of our product containers:

    Initial Deployment

    For your initial deployment of the stack, we recommend you make no 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. Use this command to display the logs as the stack starts:

      docker-compose logs -f
      

      Enter Ctrl+C to exit the display.

    3. Use either of these commands to display the status of the Docker containers in the stack:

    4. docker ps (enter this at intervals)

    5. watch "docker container ls --format 'table {{.Names}}\t{{.Status}}'"

    Refer to the Docker Compose Documentation for more information.

  2. Log in to the management consoles for the products:

    Product Connection Details
    PingFederate
    PingDirectory
    PingAccess
    PingAuthorize
    PingDataSync
    PingCentral
    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.

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

    docker-compose stop
    

    Alternatively, to stop the stack and remove all of the containers and associated Docker networks (volumes are still preserved), enter:

    docker-compose down