Skip to content
Snippets Groups Projects
Commit 8925f415 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[fix] default config blockchain option changed

parent 49491df1
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
# Use a descriptive name for your cluster: # Use a descriptive name for your cluster:
# #
# cluster.name: my-application # cluster.name: my-application
cluster.name: duniter4j-elasticsearch cluster.name: duniter4j-es-g1
# #
# ------------------------------------ Node ------------------------------------ # ------------------------------------ Node ------------------------------------
# #
...@@ -111,7 +111,7 @@ security.manager.enabled: false ...@@ -111,7 +111,7 @@ security.manager.enabled: false
# #
# duniter.enabled: false # duniter.enabled: false
# #
# Reset and reload all Duniter4j data at startup - DO NOT SET to true in production # Delete then create all indices at startup - DO NOT set to true in production
# #
# duniter.indices.reload: true # duniter.indices.reload: true
# #
...@@ -119,39 +119,36 @@ security.manager.enabled: false ...@@ -119,39 +119,36 @@ security.manager.enabled: false
# #
duniter.string.analyzer: french duniter.string.analyzer: french
# #
# Enabling node blockchain synchronization # Enabling blockchain synchronization
# #
duniter.blockchain.sync.enable: true duniter.blockchain.enable: true
#
# Force blockchain reload - WARNING: all user events will be resetted to 'unread'
#
#duniter.blockchain.reload: true
# #
# Duniter node address # Duniter node address
# #
duniter.host: g1.duniter.org duniter.host: g1.duniter.org
duniter.port: 10901 duniter.port: 10901
#
#duniter.useSsl: true #duniter.useSsl: true
#duniter.network.timeout: 5000 #duniter.network.timeout: 5000
# #
# ---------------------------------- Duniter4j security ------------------------- # ---------------------------------- Duniter4j security module -------------------
# #
# Allow admin actions # Keyring for the ES node
# #
#duniter.keyring.salt: #duniter.keyring.salt:
#duniter.keyring.password: #duniter.keyring.password:
# #
# Enable security, to disable HTTP access to the default ES admin API # Enable security - will restrict HTTP access to only Duniter4j known indices
# #
duniter.security.enable: true duniter.security.enable: true
# #
# Security token prefix (default: 'duniter-')
#
# duniter.auth.token.prefix: duniter-
#
# Token validity duration, in seconds (default: 600)
#
# duniter.auth.tokenValidityDuration: 3600 # = 1hour
# ---------------------------------- Duniter4j P2P sync ------------------------- # ---------------------------------- Duniter4j P2P sync -------------------------
# #
# Should synchronize data using P2P # Should synchronize data from an existing ES node ?
# #
duniter.data.sync.enable: true duniter.data.sync.enable: true
duniter.data.sync.host: g1.data.duniter.fr duniter.data.sync.host: g1.data.duniter.fr
...@@ -200,7 +197,7 @@ duniter.ws.port: 9400 ...@@ -200,7 +197,7 @@ duniter.ws.port: 9400
# #
# Enable subscription module (Need to enable mail features) # Enable subscription module (Need to enable mail features)
# #
duniter.subscription.enable: true duniter.subscription.enable: false
# #
# Email subscription: Day of the week to trigger weekly (default: 2 = monday) # Email subscription: Day of the week to trigger weekly (default: 2 = monday)
# #
......
...@@ -15,14 +15,13 @@ ...@@ -15,14 +15,13 @@
# Use a descriptive name for your cluster: # Use a descriptive name for your cluster:
# #
# cluster.name: my-application # cluster.name: my-application
cluster.name: gtest-duniter-es cluster.name: duniter4j-elasticsearch-test
# #
# ------------------------------------ Node ------------------------------------ # ------------------------------------ Node ------------------------------------
# #
#
# Use a descriptive name for the node: # Use a descriptive name for the node:
# #
node.name: EIS-DEV # node.name: node-1
# #
# Add custom attributes to the node: # Add custom attributes to the node:
# #
...@@ -53,7 +52,7 @@ node.name: EIS-DEV ...@@ -53,7 +52,7 @@ node.name: EIS-DEV
# #
# Set the bind address to a specific IP (IPv4 or IPv6): # Set the bind address to a specific IP (IPv4 or IPv6):
# #
#network.host: 192.168.0.28 # network.host: 192.168.233.118
# #
# Set a custom port for HTTP: # Set a custom port for HTTP:
# #
...@@ -112,7 +111,7 @@ security.manager.enabled: false ...@@ -112,7 +111,7 @@ security.manager.enabled: false
# #
# duniter.enabled: false # duniter.enabled: false
# #
# Reset all data and re-create all Duniter4j inidices, at startup - DO SET to true in production # Delete then create all indices at startup - DO NOT set to true in production
# #
# duniter.indices.reload: true # duniter.indices.reload: true
# #
...@@ -120,16 +119,15 @@ security.manager.enabled: false ...@@ -120,16 +119,15 @@ security.manager.enabled: false
# #
duniter.string.analyzer: french duniter.string.analyzer: french
# #
# Enabling node blockchain synchronization # Enabling blockchain synchronization
# #
duniter.blockchain.enable: true duniter.blockchain.enable: true
#duniter.blockchain.reload: true
# #
# Force to reset and reload the blockchain, at startup - DO SET to true in production # Force blockchain reload - WARNING: all user events will be resetted to 'unread'
# #
#duniter.blockchain.reload: true #duniter.blockchain.reload: true
# #
# Duniter node to synchronize # Duniter node address
# #
duniter.host: g1.duniter.org duniter.host: g1.duniter.org
duniter.port: 10901 duniter.port: 10901
...@@ -142,10 +140,9 @@ duniter4j.network.timeout: 10000 ...@@ -142,10 +140,9 @@ duniter4j.network.timeout: 10000
# #
duniter.keyring.salt: 'abc' duniter.keyring.salt: 'abc'
duniter.keyring.password: 'def' duniter.keyring.password: 'def'
# Enable security, to disable HTTP access to the default ES admin API
# #
#duniter.security.enable: false # Enable security - will restrict HTTP access to only Duniter4j known indices
#
duniter.security.enable: true duniter.security.enable: true
# #
# Security token prefix (default: 'duniter-') # Security token prefix (default: 'duniter-')
...@@ -158,7 +155,7 @@ duniter.security.enable: true ...@@ -158,7 +155,7 @@ duniter.security.enable: true
# ---------------------------------- Duniter4j P2P sync ------------------------- # ---------------------------------- Duniter4j P2P sync -------------------------
# #
# Should synchronize data using P2P # Should synchronize data from an existing ES node ?
# #
duniter.data.sync.enable: true duniter.data.sync.enable: true
#duniter.data.sync.enable: true #duniter.data.sync.enable: true
...@@ -207,7 +204,7 @@ duniter.mail.admin: 'benoit.lavenier@e-is.pro' ...@@ -207,7 +204,7 @@ duniter.mail.admin: 'benoit.lavenier@e-is.pro'
# #
duniter.ws.port: 9400 duniter.ws.port: 9400
# ---------------------------------- Duniter4j Subscription module ----------------- # ---------------------------------- Duniter4j Subscription module -------------------
# #
# Enable subscription module (Need to enable mail features) # Enable subscription module (Need to enable mail features)
# #
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment