-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtxMempool3-OtherDB.yml
53 lines (51 loc) · 2.1 KB
/
txMempool3-OtherDB.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
42
43
44
45
46
47
48
49
50
51
52
53
version: '3'
services:
#------------------------------------------------------------------------------
#port host:docker
tx_mempool3:
image: ${REGISTRY_HOST}/tx_mempool:latest
container_name: tx_mempool3_otherDB
#ports:
# - "4445:8080"
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/
management.server.port: ${COMMON_MANAGEMENT_PORT}
server.port: ${TX_MEMPOOL3_OTHERDB_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}
spring.cloud.stream.bindings.txMemPoolEvents.group: txMemPool3
spring.data.mongodb.uri: mongodb://${TX_MEMPOOL_MONGO2_IP_ADDRESS}:${TX_MEMPOOL_MONGO2_PORT}/statistics
# server.ssl.key-store: ${SERVER_SSL_KEY_STORE}
# server.ssl.key-store-password: ${SERVER_SSL_KEY_STORE_PASSWORD}
# server.ssl.key-store-type: ${SERVER_SSL_KEY_STORE_TYPE}
# server.ssl.key-alias: ${SERVER_SSL_KEY_ALIAS}
# server.ssl.key-password: ${SERVER_SSL_KEY_PASSWORD}
networks:
bitnet:
ipv4_address: ${TX_MEMPOOL3_OTHERDB_IP_ADDRESSS}
restart: always
# depends_on:
# - configuration_server
# - service_discovery
#TODO: Maybe needed
# - bitcoind_adapter1
volumes:
# - ~/.rsassl:/ssl
- tx_mempool3_volume:/tmp
#------------------------------------------------------------------------------
volumes:
tx_mempool3_volume:
#------------------------------------------------------------------------------
networks:
bitnet:
driver: bridge
ipam:
config:
- subnet: 172.18.0.0/16
# - gateway: 172.18.0.1