* Enable OAP gRPC SSL transportation Porting to OpenSSL to enable SSL transportation. The server private key is in the format of PCKS#8, certificates is x509 though. Signed-off-by: Gao Hongtao <hanahmily@gmail.com> * Add netty-tcnative-boringssl-static 2.0.26 licnese Signed-off-by: Gao Hongtao <hanahmily@gmail.com> * Update docs/en/setup/backend/grpc-ssl.md Co-Authored-By: kezhenxu94 <kezhenxu94@apache.org> * Update docs/en/setup/backend/grpc-ssl.md Co-Authored-By: kezhenxu94 <kezhenxu94@apache.org> * Add SSL to grpc remote client and sharing server Signed-off-by: Gao Hongtao <hanahmily@gmail.com> * Update documents Signed-off-by: Gao Hongtao <hanahmily@gmail.com> * Fix nits Signed-off-by: Gao Hongtao <hanahmily@gmail.com> * Fix test case Signed-off-by: Gao Hongtao <hanahmily@gmail.com> * Add e2e-ssl and remove other test cases temporarily Signed-off-by: Gao Hongtao <hanahmily@gmail.com> * Add TLS relevant files Signed-off-by: Gao Hongtao <hanahmily@gmail.com> * Decrease timeout Signed-off-by: Gao Hongtao <hanahmily@gmail.com> * Test config works Signed-off-by: Gao Hongtao <hanahmily@gmail.com> * triger CI on oap-ssl branch * Disable agent ca Signed-off-by: Gao Hongtao <hanahmily@gmail.com> * Switch to sharing server Signed-off-by: Gao Hongtao <hanahmily@gmail.com> * Add agent log to console Signed-off-by: Gao Hongtao <hanahmily@gmail.com> * Upload log files * Change backend Signed-off-by: Gao Hongtao <hanahmily@gmail.com> * Revert "Change backend" This reverts commit 7a085711e3653d3bf642aa84f73650e22595e383. * Update backend Signed-off-by: Gao Hongtao <hanahmily@gmail.com> * Revert e2e Signed-off-by: Gao Hongtao <hanahmily@gmail.com> * Ignore TSL relevant files Signed-off-by: Gao Hongtao <hanahmily@gmail.com> * Polish codes Signed-off-by: Gao Hongtao <hanahmily@gmail.com> * Update certificates expires year to 2120 Signed-off-by: Gao Hongtao <hanahmily@gmail.com> Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com> Co-authored-by: kezhenxu94 <kezhenxu94@apache.org> |
||
|---|---|---|
| .. | ||
| oap | ||
| oap-es7 | ||
| ui | ||
| .env | ||
| README.md | ||
| docker-compose.yml | ||
README.md
This folder contains Docker files for SkyWalking developers/committers to build images manually. If you want to start a SkyWalking backend server with docker-compose for your integration, please visit https://github.com/apache/skywalking-docker repository.
Quickstart
You can use Makefile located at the root folder to build a docker image with the current codebase.
make docker
It doesn't contain the process of building a docker image but also includes all the required steps, for instance, init workspace, build artifact from scratch. It builds two images, OAP, and UI.
docker image ls | grep skywalking
skywalking/ui latest a14db4e1d70d 6 minutes ago 800MB
skywalking/oap latest 2a6084450b44 6 minutes ago 862MB
Building variables
There're some environment variables to control image building.
HUB
The hub of docker image. The default value is skywalking.
TAG
The tag of docker image. The default value is latest.
ES_VERSION
The elasticsearch version this image supports. The default value is es6, available values are es6 and es7.
For example, if we want to build images with a hub foo.io and a tag bar, and it supports elasticsearch 7 at the same time.
We can issue the following commands.
export HUB=foo.io && export TAG=bar && export ES_VERSION=es7 && make docker
Let's check out the result:
docker image ls | grep foo.io
foo.io/ui bar a14db4e1d70d 9 minutes ago 800MB
foo.io/oap bar 2a6084450b44 9 minutes ago 862MB
From the output, we can find out the building tool adopts the files stored in oap-es7.
Running containers with docker-compose
We can start up backend cluster by docker-compose
cd docker
docker compose up
docker/.env file contains the default TAG and elasticsearch tag(ES_TAG).