Initial updates
This commit is contained in:
5
pinpoint-agent-attach-example/tomcat/.env
Normal file
5
pinpoint-agent-attach-example/tomcat/.env
Normal file
@@ -0,0 +1,5 @@
|
||||
### Pinpoint with Tomcat
|
||||
PINPOINT_VERSION=1.7.2
|
||||
APP_PORT=8000
|
||||
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:-8080}: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}"
|
||||
command: catalina.sh run
|
||||
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: pinpoint-agent_pinpoint
|
||||
Reference in New Issue
Block a user