docker-wso2apim
docker-wso2apim copied to clipboard
Docker image to install and run WSO2 API Manager.
docker-wso2apim
Docker image to install and run WSO2 API Manager.
Description
The Dockerfile will:
- Use
wgetto pull the WSO2 API Manager 2.1.0 zip file from a S3 bucket into the container/optfolder. - Install
zip. - Unzip the APIM 2.1.0 ZIP.
- Remove the APIM 2.1.0 ZIP.
- Expose the container port
9443,9736,8243,8280,10397,7711. - Set the
wso2server.shstart-up script as the container entrypoint.
Usage
To build the api-manager and test images with earthly:
earth +image
earth +test-image
To run the WSO2 API Manager:
export API_MANAGER_HOST=apim
export TEST_NETWORK=test
docker network create "$TEST_NETWORK"
docker run -d --name "$API_MANAGER_HOST" \
--network "$TEST_NETWORK" \
-p 9443:9443 \
wso2am:2.1.0-update14
docker run --network "$TEST_NETWORK" \
--env API_MANAGER_HOST="$API_MANAGER_HOST" \
wso2am-test
To access the web UI:
- Admin console: https://localhost:9443/carbon
- Publisher console: https://localhost:9443/publisher
- API store: https://localhost:9443/store
License
Refer to the LICENSE file. WSO2 license can be found here.