Skip to main content

How to Install WSO2 API Manager in Docker Container

WSO2 API Manager is an open source approach to addressing any spectrum of the API lifecycle, monetization and policy enforcement.



WSO2 API Manager features:


  • Design APIs and gather developers' feedback before implementing (API First Design). Design can be done from the publishing interface or via importing an existing Swagger 2.0 definition

  • Deploy a prototyped API, provide early access to APIs, and get early feedback

  • Mock API implementation using JavaScript

  • Supports publishing SOAP, REST, JSON, and XML style services as APIs

  • Pre-loaded sample APIs for a hassle-free first experience



Build the WSO2 API Manager Images



Create a Dockerfile and write this sample script:

[sourcecode]

FROM java:8
MAINTAINER luthfi@emka.web.id

ARG APIM_VERSION=${APIM_VERSION:-2.1.0}
RUN wget --user-agent="testuser" --referer="http://connect.wso2.com/wso2/getform/reg/new_product_download" http://product-dist.wso2.com/products/api-manager/${APIM_VERSION}/wso2am-${APIM_VERSION}.zip

RUN pwd
RUN ls -la
RUN apt-get update && apt-get install -y zip && apt-get clean
RUN unzip wso2am-${APIM_VERSION}.zip -d /tmp
RUN rm wso2am-${APIM_VERSION}.zip

EXPOSE 9443 9763 8243 8280 10397 7711
WORKDIR /tmp/wso2am-${APIM_VERSION}
ENTRYPOINT [ "bin/wso2server.sh" ]

[/sourcecode]

then build with Docker Build command

[sourcecode]docker build -t wso2apimanager . [/sourcecode]

wait until the image is successfully build.

Run WSO2 API Manager



to run WSO2 API Manager server in Docker, type:

[sourcecode]docker run -p 9443:9443 -p 9763:9763 -p 8243:8243 -p 8280:8280 -p 10397:10397 -p 7711:711 wso2apimanager[/sourcecode]

for more information, play this video tutorial:

[youtube src="https://youtu.be/1g4zBU0xucs"]

Comments

Popular posts from this blog

How to Install Traefik in Debian (Without Docker)

 Download the suitable version of Traefik for your system from here: https://github.com/traefik/traefik/releases as an example, we'll be download the linux 64 bit version: wget https://github.com/traefik/traefik/releases/download/v2.8.7/traefik_v2.8.7_linux_amd64.tar.gz extract those package: tar -xzvf traefik_v2.8.7_linux_amd64.tar.gz set the traefik as executable and move the traefik binary to linux bin folder

Create AdminLTE Dashboard with NextJS

Sure, you can create an AdminLTE dashboard in a Next.js project using TypeScript. Here's a step-by-step guide:  Create a Next.js Project with TypeScript:  If you haven't already, create a new Next.js project with TypeScript by running the following commands: npx create-next-app my-adminlte-dashboard --use-npm --typescript cd my-adminlte-dashboard Install Dependencies: 

Cara Disable Antimalware Service Executable di Windows 10

Disadari atau tidak, Windows 10 (dan juga windows-windows lainnya) hadir dengan banyak sekali aplikasi bloatware (aplikasi yang tidak perlu-perlu amat dimiliki oleh end user). Contohnya, adalah aplikasi yang seharusnya sudah tergantikan fungsinya oleh antivirus, seperti Antimalware Service Executable . Aplikasi ini dicurigai membuat Windows 10 mengalami inefisiensi memori/RAM, memakan resource yang tinggi, dengan Load yang tinggi (tanpa limit terkadang). Nah, berikut adalah cara men-disable nya: Tekan tombol Windows + I untuk membuka apliaksi Windows Setting. Pilih icon menu Update and Security Pilih lagi menu disamping kiri Windows Security Pada jendela baru yang muncul, ada pilihan Virus & Threat protection Klik ini Lalu matikan proses Real-time protection tersebut. Dengan Regedit. Buka dialog regedit, Windows + R dan ketik ‘regedit’ Cari Folder regedit ini HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Buat sebuah DWORD baru dengan klik kanan