45 lines
1.8 KiB
YAML
45 lines
1.8 KiB
YAML
version: "3.6"
|
|
|
|
services:
|
|
pinpoint-batch:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
- PINPOINT_VERSION=${PINPOINT_VERSION}
|
|
|
|
container_name: "${PINPOINT_BATCH_NAME}"
|
|
image: "pinpointdocker/pinpoint-batch:${PINPOINT_VERSION}"
|
|
|
|
restart: always
|
|
expose:
|
|
- "${BATCH_SERVER_PORT:-8079}"
|
|
ports:
|
|
- "${BATCH_SERVER_PORT:-8079}:${BATCH_SERVER_PORT:-8079}"
|
|
environment:
|
|
- BATCH_SERVER_PORT=${BATCH_SERVER_PORT}
|
|
- SPRING_PROFILES_ACTIVE=${SPRING_PROFILES},batch
|
|
- PINPOINT_ZOOKEEPER_ADDRESS=${PINPOINT_ZOOKEEPER_ADDRESS}
|
|
- CLUSTER_ENABLE=${CLUSTER_ENABLE}
|
|
- ADMIN_PASSWORD=${ADMIN_PASSWORD}
|
|
- CONFIG_SENDUSAGE=${CONFIG_SENDUSAGE}
|
|
- LOGGING_LEVEL_ROOT=${BATCH_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} |