48 lines
1.8 KiB
YAML
48 lines
1.8 KiB
YAML
version: "3.6"
|
|
|
|
services:
|
|
pinpoint-web:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
- PINPOINT_VERSION=${PINPOINT_VERSION}
|
|
|
|
container_name: "${PINPOINT_WEB_NAME}"
|
|
image: "pinpointdocker/pinpoint-web:${PINPOINT_VERSION}"
|
|
|
|
restart: always
|
|
expose:
|
|
- "${SERVER_PORT:-8080}"
|
|
- "9997"
|
|
ports:
|
|
- "9997:9997"
|
|
- "${SERVER_PORT:-8080}:${SERVER_PORT:-8080}"
|
|
environment:
|
|
- JAVA_OPTS="-Dspring.profiles.active=${SPRING_PROFILES},batch"
|
|
- SERVER_PORT=${SERVER_PORT}
|
|
- SPRING_PROFILES=${SPRING_PROFILES}
|
|
- PINPOINT_ZOOKEEPER_ADDRESS=${PINPOINT_ZOOKEEPER_ADDRESS}
|
|
- CLUSTER_ENABLE=${CLUSTER_ENABLE}
|
|
- ADMIN_PASSWORD=${ADMIN_PASSWORD}
|
|
- CONFIG_SENDUSAGE=${CONFIG_SENDUSAGE}
|
|
- LOGGING_LEVEL_ROOT=${WEB_LOGGING_LEVEL_ROOT}
|
|
- CONFIG_SHOW_APPLICATIONSTAT=${CONFIG_SHOW_APPLICATIONSTAT}
|
|
- BATCH_ENABLE=${BATCH_ENABLE}
|
|
- BATCH_SERVER_IP=${BATCH_SERVER_IP}
|
|
- BATCH_FLINK_SERVER=${BATCH_FLINK_SERVER}
|
|
- JDBC_DRIVERCLASSNAME=${JDBC_DRIVERCLASSNAME}
|
|
- JDBC_URL=${JDBC_URL}
|
|
- JDBC_USERNAME=${JDBC_USERNAME}
|
|
- JDBC_PASSWORD=${JDBC_PASSWORD}
|
|
- ALARM_MAIL_SERVER_URL=${ALARM_MAIL_SERVER_URL}
|
|
- ALARM_MAIL_SERVER_PORT=${ALARM_MAIL_SERVER_PORT}
|
|
- ALARM_MAIL_SERVER_USERNAME=${ALARM_MAIL_SERVER_USERNAME}
|
|
- ALARM_MAIL_SERVER_PASSWORD=${ALARM_MAIL_SERVER_PASSWORD}
|
|
- ALARM_MAIL_SENDER_ADDRESS=${ALARM_MAIL_SENDER_ADDRESS}
|
|
- ALARM_MAIL_TRANSPORT_PROTOCOL=${ALARM_MAIL_TRANSPORT_PROTOCOL}
|
|
- ALARM_MAIL_SMTP_PORT=${ALARM_MAIL_SMTP_PORT}
|
|
- ALARM_MAIL_SMTP_AUTH=${ALARM_MAIL_SMTP_AUTH}
|
|
- ALARM_MAIL_SMTP_STARTTLS_ENABLE=${ALARM_MAIL_SMTP_STARTTLS_ENABLE}
|
|
- ALARM_MAIL_SMTP_STARTTLS_REQUIRED=${ALARM_MAIL_SMTP_STARTTLS_REQUIRED}
|
|
- ALARM_MAIL_DEBUG=${ALARM_MAIL_DEBUG} |