-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrecorder2.yml
41 lines (38 loc) · 1.74 KB
/
recorder2.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: "3"
services:
#------------------------------------------------------------------------------
mempool_recorder2:
image: ${REGISTRY_HOST}/mempool_recorder:latest
container_name: mempool_recorder2
environment:
spring.profiles.active: "prod"
JAVA_TOOL_OPTIONS: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000"
spring.cloud.config.enabled: "true"
spring.cloud.config.fail-fast: "true"
spring_cloud_config_uri: http://${CONFIGURATION_SERVER_IP_ADDRESS}:${CONFIGURATION_SERVER_PORT}
eureka.client.serviceUrl.defaultZone: http://${SERVICE_DISCOVERY_IP_ADDRESS}:${SERVICE_DISCOVERY_PORT}/eureka/
spring.data.mongodb.uri: mongodb://${MEMPOOL_RECORDER_MONGO2_IP_ADDRESS}:${MEMPOOL_RECORDER_MONGO2_PORT}/stateOnBlock
#logging.level.org.springframework.data.mongodb.core.MongoTemplate: DEBUG
#logging.level.org.springframework.data.mongodb.core.ReactiveMongoTemplate: DEBUG
management.server.port: ${COMMON_MANAGEMENT_PORT}
server.port: ${MEMPOOL_RECORDER2_PORT}
spring.cloud.stream.kafka.binder.zkNodes: ${ZOOKEEPER_IP_ADDRESS}
spring.cloud.stream.kafka.binder.brokers: ${KAFKA1_IP_ADDRESS}
spring.cloud.stream.bindings.txMemPoolEvents.destination: ${TOPIC_MEMPOOL_TX_EVENTS2}
networks:
bitnet:
ipv4_address: ${MEMPOOL_RECORDER2_IP_ADDRESSS}
restart: always
volumes:
- mempool_recorder2_volume:/tmp
#------------------------------------------------------------------------------
volumes:
mempool_recorder2_volume:
#------------------------------------------------------------------------------
networks:
bitnet:
driver: bridge
ipam:
config:
- subnet: 172.18.0.0/16
# - gateway: 172.18.0.1