-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from ThilinaManamgoda/master
Basic deployment pattern
- Loading branch information
Showing
8 changed files
with
80 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# WSO2 Stream Processor Distributed setup | ||
|
||
Runs a pre configured Stream Processor setup with Stream Processor editor, worker and dashboard nodes. | ||
|
||
## Prerequisites | ||
|
||
* [Docker](https://www.docker.com/get-docker) and [Docker Compose](https://docs.docker.com/compose/install/#install-compose) are required for running this Docker Compose file. | ||
|
||
## How to deploy | ||
|
||
1. Build the Stream Processor editor, worker and dashboard images using [SP Dockerfiles](../../dockerfiles/README.md) | ||
|
||
> In the `docker-compose.yml`, remove the `dockerhub.wso2.com/` prefix from the `image` name | ||
> For example, change the line `image: dockerhub.wso2.com/wso2sp-manager:4.0.0` to `image: wso2sp-manager:4.0.0` | ||
2. Pull MySQL Docker image: | ||
``` | ||
docker pull mysql:5.7.19 | ||
``` | ||
3. Download the latest Stream Processor Docker resources release zip file from the [releases](https://github.com/wso2/docker-sp/releases) page or clone this repository to your local machine and switch to the latest tag. | ||
> Note that the local copy of `docker-sp` repository will be referred to as `[docker-sp]` from this point onwards. | ||
4. Switch to the docker-compose/editor-worker-dashboard folder: | ||
``` | ||
cd [docker-sp]/docker-compose/editor-worker-dashboard | ||
``` | ||
5. Execute the following Docker Compose command to start the deployment: | ||
``` | ||
docker-compose up | ||
``` | ||
6. Add the following host entry for Stream Processor dashboard component; | ||
``` | ||
127.0.0.1 wso2sp-dashboard | ||
``` | ||
> The Stream Processor dashboard can be accessed using the following URL | ||
``` | ||
https://wso2sp-dashboard:9643/monitoring/ | ||
``` |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.