Quick and easy way to standup a PingFederate server using Docker
-
Run From Docker Image associated with this repo:
docker run -dt --name dev_pingfederate -p 9999:9999 -p 9031:9031 flavioespinoza/pingfederate-docker bash
-
Verify a container named
dev_pingfederate
is up and running:'docker ps -a
CONTAINER ID NETWORKS STATUS NAMES PORTS bd2d1471591f bridge Up 51 seconds dev_pingfederate 0.0.0.0:9031->9031/tcp, 0.0.0.0:9999->9999/tcp
-
Go to: https://localhost:9999/pingfederate/app and follow the prompts:
-
Install npm packages with yarn
yarn install
-
Go to the link below and download the latest PingFederate ZIP file and save it in the project's root directory:
- PingFederate Download
- NOTE: This file will be ignored on git commit
-
Go to the link below and download the latest
jdk-8u91-linux-x64.rpm
file and save it in the project's root directory:- Java SE Development Kit 11 Downloads
- You will need to signup for an Oracle account
- NOTE: This file will be ignored on git commit
-
Create docker-hub repo named
pingfederate-docker
:<your_dockerhub_repo>/pingfederate-docker
-
Build docker image
docker build -t <your_dockerhub_repo>/pingfederate-docker -f Dockerfile.release .
-
Push docker image
docker push <your_dockerhub_repo>/pingfederate-docker:latest
-
Run docker image with name
dev_pingfederate
and map admin and playground to your localhost ports 9999 and 9031:docker run -dt --name dev_pingfederate -p 9999:9999 -p 9031:9031 <your_dockerhub_repo>/pingfederate-docker bash
-
Verify a container named
dev_pingfederate
is up and running:'docker ps -a
CONTAINER ID NETWORKS STATUS NAMES PORTS bd2d1471591f bridge Up 51 seconds dev_pingfederate 0.0.0.0:9031->9031/tcp, 0.0.0.0:9999->9999/tcp
-
Go to: https://localhost:9999/pingfederate/app and follow the prompts: