This docker setup demonstrate the apim analytics and log analytics functionality.
- v1.0.0 - Setup using MySQL v5.7, wso2-am-2.1.0, wso2am-analytics-2.1.0
- Documentations: Configuring WSO2 API Manager Server With Analytics
- Install docker into your setup environment.
- Clone this Git repository. If you need to download only this demo scenario follow this blog.
- Depending on the demo verison you choose to run, download the desired wso2am-x.x.x.zip and wso2am-analytics-x.x.x.zip WUM updated zip files.
- Copy the wso2am-x.x.x.zip file into presales-demos/apim-analytics/vX.X.X/apim-setup/ location.
- Copy the wso2am-analytics-x.x.x.zip file into presales-demos/apim-analytics/vX.X.X/analytics-setup location.
- Go to presales-demos/analytics-setup/vX.X.X/ location and run the following commands.
Optional
## Below command will build and run the full setup. docker-compose up
If you need to start the services as background processes execute the following command.If you need to build the images individually you can execute the commands in-order as following.docker-compose up -d
To run the services individually you can execute the commands in-order as following.docker-compose build mysql-service docker-compose build analytics-service docker-compose build apim-service
docker-compose up mysql-service docker-compose up analytics-service docker-compose up apim-service
- To stop the services execute the following command.
docker-compose down