/wso2

Repository to WSO2 solutions docker images.

Primary LanguageShell

WSO2 API Manager with Identity Server as Key Manager

Prerequisites

  • Install Git, Docker and Docker Compose in order to run the steps provided in following Quick start guide.

  • In order to run this Docker Compose setup, you will need an active subscription from WSO2 since the referring Docker images hosted at docker.wso2.com contains the latest updates and fixes for WSO2 API Manager
    and API Manager Analytics 2.5.0 and WSO2 Identity Server as KM 5.6.0. You can sign up for a Free Trial Subscription here.

  • If you wish to run the Docker Compose setup using Docker images built locally, build Docker images using
    WSO2 API Manager Dockerfile, API Manager Analytics Dockerfile and WSO2 Identity Server as KM Dockerfile and remove the docker.wso2.com/ prefix from the image name In the docker-compose.yml. For example, change the line
    image: docker.wso2.com/wso2am:2.5.0 to image: wso2am:2.5.0 .

Quick Start Guide

  1. Clone WSO2 API Manager Docker git repository.

    git clone https://github.com/wso2/docker-apim
    

    If you are to try out an already released zip of this repo, please ignore this 1st step.

  2. Switch to the docker-compose/APIM-ISasKM-with-Analytics folder.

    cd docker-apim/docker-compose/APIM-ISasKM-with-Analytics
    

    If you are to try out an already released zip of this repo, please ignore this 2nd step also. Instead, extract the zip file and directly browse to docker-apim-<released-version-here>docker-compose/APIM-ISasKM-with-Analytics folder.

    If you want to try out an already released tag, after executing 2nd step, checkout the relevant tag, i.e. for example: git checkout tags/v2.5.0.1 and continue below steps.

  3. Execute the following Docker Compose command to start the deployment.

    docker-compose up
    
  4. Once the deployment is started, try to access the web UIs via following URLs and default credentials
    on your favorite web browser.

    https://localhost:9443/publisher
    https://localhost:9443/store
    https://localhost:9443/admin
    https://localhost:9443/carbon
    

    Access the servers using following credentials.

    • Username: admin
    • Password: admin

    Please note that API Gateway will be available on following ports.

    https://localhost:8243
    https://localhost:8280
    

    WSO2 API Manager will use WSO2 Identity Server to generate OAuth2 tokens and validate those tokens
    during API invocations.