v.2.5.3
This commit is contained in:
6
pinpoint-agent-attach-example/tomcat/.env
Normal file
6
pinpoint-agent-attach-example/tomcat/.env
Normal file
@@ -0,0 +1,6 @@
|
||||
### Pinpoint with Tomcat
|
||||
PINPOINT_VERSION=2.5.3
|
||||
SPRING_PROFILES=release
|
||||
APP_PORT=8085
|
||||
AGENT_ID=app-in-docker
|
||||
APP_NAME=quickapp
|
||||
22
pinpoint-agent-attach-example/tomcat/docker-compose.yml
Normal file
22
pinpoint-agent-attach-example/tomcat/docker-compose.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
version: "2.1"
|
||||
|
||||
services:
|
||||
tomcat:
|
||||
#build if needed
|
||||
# build:
|
||||
# context: .
|
||||
# dockerfile: Dockerfile
|
||||
container_name: "tomcat"
|
||||
image: "Your Image"
|
||||
ports:
|
||||
- "${APP_PORT:-8085}:8080"
|
||||
volumes_from:
|
||||
- container:pinpoint-agent
|
||||
environment:
|
||||
JAVA_OPTS: "-javaagent:/pinpoint-agent/pinpoint-bootstrap-${PINPOINT_VERSION}.jar -Dpinpoint.agentId=${AGENT_ID} -Dpinpoint.applicationName=${APP_NAME} -Dspring.profiles.active=${SPRING_PROFILES}"
|
||||
command: catalina.sh run
|
||||
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: pinpoint-agent_pinpoint
|
||||
Reference in New Issue
Block a user