Skip to content

Commit

Permalink
Align Docker Compose resources with WSO2 Software License
Browse files Browse the repository at this point in the history
  • Loading branch information
chirangaalwis authored and DilanUA committed Mar 12, 2020
1 parent c244b2f commit c34676a
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 153 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ All notable changes to this project 5.9.x per each release will be documented in

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## [v5.9.0.3] - 2020-03-12

### Changed
- Align Docker Compose resources with WSO2 Software License (WSL).
- Set Docker Compose resources to use WSO2 Private Docker Registry Docker images, by default.

## [v5.9.0.2] - 2020-01-21

### Fixed
Expand All @@ -20,4 +26,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
For detailed information on the tasks carried out during this release, please see the GitHub milestone
[v5.9.0.1](https://github.com/wso2/docker-is/milestone/8).

[v5.9.0.2]: https://github.com/wso2/docker-is/compare/v5.9.0.1...v5.9.0.2
[v5.9.0.3]: https://github.com/wso2/docker-is/compare/v5.9.0.2...v5.9.0.3
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ Docker Compose files have been created according to the most common IAM deployme
to quickly evaluate product features along side their co-operate IAM requirements. The Compose files make use of per profile
Docker images of WSO2 Identity Server and Analytics and MySQL.

**Change log** from previous v5.8.0.3 release: [View Here](CHANGELOG.md)
**Change log** from previous v5.9.0.2 release: [View Here](CHANGELOG.md)
73 changes: 40 additions & 33 deletions docker-compose/is-with-analytics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,45 +6,52 @@

* Install [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git), [Docker](https://www.docker.com/get-docker) and [Docker Compose](https://docs.docker.com/compose/install/#install-compose)
in order to run the steps provided in following Quick start guide. <br><br>
* In order to use Docker images with WSO2 updates, you need an active WSO2 subscription. If you do not possess an active WSO2
subscription, you can sign up for a WSO2 Free Trial Subscription from [here](https://wso2.com/free-trial-subscription).
Otherwise, you can proceed with Docker images which are created using GA releases.<br><br>
* If you wish to run the Docker Compose setup using Docker images built locally, build Docker images using Docker resources available from [here](../../dockerfiles/) and remove the `docker.wso2.com/` prefix from the `image` name in the `docker-compose.yml`. <br><br>
* In order to use Docker images with WSO2 updates, you need an active WSO2 subscription.
Otherwise, you can proceed with Docker images available at [DockerHub](https://hub.docker.com/u/wso2/), which are created using GA releases.<br><br>
* If you wish to run the Docker Compose setup using Docker images built locally, build Docker images using Docker resources available from [here](../../dockerfiles/) and
remove the `docker.wso2.com/` prefix from the `image` name in the `docker-compose.yml`. <br><br>

## How to deploy
## Quick Start Guide

1. Clone WSO2 Identity Server Docker git repository.
```
git clone https://github.com/wso2/docker-is
```
> If you are to try out an already released zip of this repo, please ignore this 1st step.
1. Login to WSO2's Private Docker Registry via Docker client. When prompted, enter the username and password of your WSO2 Subscription.

2. Switch to the `docker-compose/is-with-analytics` folder.
```
cd [docker-is]/docker-compose/is-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-is-<released-version-here>/docker-compose/is-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/v5.9.0.1 and continue below steps.
3. [Optional] If you are using WSO2 product Docker images with WSO2 updates, replace the WSO2 product Docker image names
(relevant `image` attribute under each WSO2 product profile service) in the Docker Compose deployment definition.
**Note**: By default, each product profile service is configured to use WSO2 product Docker images with GA releases.
4. Execute following Docker Compose command to start the deployment.
```
docker-compose up
```
```
docker login docker.wso2.com
```

2. Clone WSO2 API Management Docker and Docker Compose resource Git repository.

```
git clone https://github.com/wso2/docker-is
```

> If you are to try out an already released zip of this repo, please ignore this 2nd step.
3. Switch to `docker-compose/is-with-analytics` folder.

```
cd docker-is/docker-compose/is-with-analytics
```
> If you intend to try out an already released zip of this repository, extract the zip file and directly browse to
`docker-is-<released-version-here>/docker-compose/is-with-analytics` folder.
5. Access management console via a web browser.
> If you intend to try out an already released tag, after executing 2nd step, checkout the relevant tag,
i.e. for example: `git checkout tags/v5.9.0.1`, switch to `docker-compose/is-with-analytics` folder and continue with below steps.

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

```
docker-compose up
```

5. Access the WSO2 Identity Server web UIs using the below URLs via a web browser.

```
For Identity Server - https://localhost:9443/carbon
For Identity Server Analytics Portal - https://localhost:9643/portal/
```
6. When configuring an application with Identity Server, use the following properties
* IdPEntityId - wso2is
Login to the web UIs using following credentials.
* Username: admin <br>
* Password: admin
8 changes: 4 additions & 4 deletions docker-compose/is-with-analytics/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '2.3'
services:
mysql:
image: mysql:5.7.27
image: mysql:5.7.28
ports:
- 3306
environment:
Expand All @@ -16,7 +16,7 @@ services:
timeout: 60s
retries: 5
identity-server-analytics-worker:
image: wso2/wso2is-analytics-worker:5.8.0
image: docker.wso2.com/wso2is-analytics-worker:5.8.0
ports:
- "9091:9091"
- "9444:9444"
Expand All @@ -32,7 +32,7 @@ services:
volumes:
- ./identity-server-analytics-worker:/home/wso2carbon/wso2-config-volume
identity-server-analytics-dashboard:
image: wso2/wso2is-analytics-dashboard:5.8.0
image: docker.wso2.com/wso2is-analytics-dashboard:5.8.0
ports:
- "9643:9643"
healthcheck:
Expand All @@ -47,7 +47,7 @@ services:
volumes:
- ./identity-server-analytics-dashboard:/home/wso2carbon/wso2-config-volume
identity-server:
image: wso2/wso2is:5.9.0
image: docker.wso2.com/wso2is:5.9.0
ports:
- "9763:9763"
- "9443:9443"
Expand Down
43 changes: 0 additions & 43 deletions docker-compose/is-with-analytics/scripts/README.md

This file was deleted.

71 changes: 0 additions & 71 deletions docker-compose/is-with-analytics/scripts/deploy.sh

This file was deleted.

0 comments on commit c34676a

Please sign in to comment.