mirror of
https://github.com/wahyd4/docker-pinpoint.git
synced 2026-08-09 04:46:24 +10:00
update pinpoint web point and update readme.
This commit is contained in:
@@ -1,20 +1,28 @@
|
||||
# docker-pinpoint
|
||||
|
||||
Create docker machine
|
||||
```
|
||||
docker-machine create --driver virtualbox --virtualbox-disk-size "50000" --engine-storage-driver "overlay" --virtualbox-memory "4096" --virtualbox-cpu-count "8" docker-vm
|
||||
```
|
||||
This repo contains the docker images of Pinpoint, or you can just use the docker compose file run pinpoint in seconds.
|
||||
|
||||
Configure your shell
|
||||
```
|
||||
eval "$(docker-machine env docker-vm)"
|
||||
```
|
||||
### To build the images
|
||||
* Go to a folder
|
||||
* `docker build -t repo-name:latest .` to build the image
|
||||
|
||||
### To run all containers
|
||||
|
||||
To run all containers
|
||||
```
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
Open your browser and then go to <http://localhost:28080>
|
||||
|
||||
|
||||
### Add your own Java based application to be monitored.
|
||||
|
||||
```shell
|
||||
java -javaagent:/some-absolute-path/pinpoint-agent-1.6.1/pinpoint-bootstrap-1.6.1.jar -Dpinpoint.agentId=some-union-id -Dpinpoint.applicationName=some-name -jar build/libs/wise-log-1.0.0-SNAPSHOT.jar
|
||||
|
||||
```
|
||||
|
||||
|
||||
If you plan to use external volumes for hbase you should fill hbase first.
|
||||
Please run this script inside hbase container
|
||||
```
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@ pinpoint-web:
|
||||
expose:
|
||||
- "8080"
|
||||
ports:
|
||||
- "3080:8080"
|
||||
- "28080:8080"
|
||||
environment:
|
||||
HBASE_HOST: hbase
|
||||
HBASE_PORT: 2181
|
||||
|
||||
Reference in New Issue
Block a user