pinpoint-docker-fork/pinpoint-agent-attach-example/java/docker-compose.yml

22 lines
431 B
YAML
Raw Permalink Normal View History

2023-10-12 05:44:09 +00:00
version: "2.1"
services:
java:
build:
context: .
dockerfile: Dockerfile
args:
- PINPOINT_VERSION=${PINPOINT_VERSION}
- AGENT_ID=${AGENT_ID}
- APP_NAME=${APP_NAME}
- SPRING_PROFILES=${SPRING_PROFILES}
container_name: "java"
image: "Your Image"
volumes_from:
- container:pinpoint-agent
networks:
default:
external:
name: pinpoint-agent_pinpoint