mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-15 15:11:55 +08:00
e329ff4698
* chore(deps): update bitnami/kafka docker tag to v3.8.0 * Update app version [skip ci] --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
31 lines
1.1 KiB
YAML
31 lines
1.1 KiB
YAML
services:
|
|
kafka:
|
|
container_name: ${CONTAINER_NAME}
|
|
restart: always
|
|
environment:
|
|
ALLOW_PLAINTEXT_LISTENER: 'yes'
|
|
KAFKA_CFG_LOG_RETENTION_MS: 60000
|
|
KAFKA_CFG_MAX_REQUEST_SIZE: 524288000
|
|
KAFKA_CFG_MESSAGE_MAX_BYTES: 524288000
|
|
KAFKA_CFG_REPLICA_FETCH_MAX_BYTES: 524288000
|
|
KAFKA_CFG_FETCH_MESSAGE_MAX_BYTES: 524288000
|
|
KAFKA_CFG_PARTITION_FETCH_BYTES: 524288000
|
|
KAFKA_CFG_NODE_ID: 0
|
|
KAFKA_CFG_PROCESS_ROLES: controller,broker
|
|
KAFKA_CFG_LISTENERS: PLAINTEXT://:9092,CONTROLLER://:9093
|
|
KAFKA_CFG_ADVERTISED_LISTENERS: PLAINTEXT://${CONTAINER_NAME}:${PANEL_APP_PORT_HTTP}
|
|
KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP: CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT
|
|
KAFKA_CFG_CONTROLLER_QUORUM_VOTERS: 0@127.0.0.1:9093
|
|
KAFKA_CFG_CONTROLLER_LISTENER_NAMES: CONTROLLER
|
|
KAFKA_HEAP_OPTS: '-Xmx512m -Xms256m'
|
|
networks:
|
|
- 1panel-network
|
|
ports:
|
|
- "${PANEL_APP_PORT_HTTP}:9092"
|
|
image: bitnami/kafka:3.8.0
|
|
labels:
|
|
createdBy: "Apps"
|
|
networks:
|
|
1panel-network:
|
|
external: true
|