Commit 727e68b7 authored by Benoit Lavenier's avatar Benoit Lavenier

[fix] Fix default config

parent cd731ca9
......@@ -9,4 +9,5 @@
.idea
target
*/target
*.iml
\ No newline at end of file
*.iml
.local
\ No newline at end of file
......@@ -174,6 +174,7 @@ duniter.security.enable: true
# Pass a list of hosts to always synchronize (default: <empty>)
#
duniter.p2p.includes.endpoints: [
"ES_CORE_API g1.data.duniter.fr 443",
"ES_USER_API g1.data.duniter.fr 443",
"ES_SUBSCRIPTION_API g1.data.duniter.fr 443"
]
......
......@@ -14,13 +14,16 @@
#
# Use a descriptive name for your cluster:
#
cluster.name: g1-es-data-test
# cluster.name: my-application
cluster.name: cesium-plus-cluster-DEV
cluster.remote.host: localhost
cluster.remote.port: 9201
#
# ------------------------------------ Node ------------------------------------
#
# Use a descriptive name for the node:
#
node.name: EIS-DEV
node.name: cesium-plus-node-DEV
#
# Add custom attributes to the node:
#
......@@ -73,7 +76,7 @@ http.cors.enabled: true
# The default list of hosts is ["127.0.0.1", "[::1]"]
#
# discovery.zen.ping.unicast.hosts: ["host1", "host2"]
#discovery.zen.ping.unicast.hosts: ["127.0.0.1", ""]
# discovery.zen.ping.unicast.hosts: ["127.0.0.1", ""]
#
# Prevent the "split brain" by configuring the majority of nodes (total number of nodes / 2 + 1):
#
......@@ -99,7 +102,7 @@ http.cors.enabled: true
#
# Require explicit names when deleting indices:
#
# rest.destructive_requires_name: true
# action.destructive_requires_name: true
#
# Security to isolate plugin classpath - /!\ WARNING: should be DISABLE for Duniter4j
#
......@@ -107,9 +110,9 @@ security.manager.enabled: false
#
# ---------------------------------- Duniter4j ---------------------------------
#
# Enable duniter4j plugins
# Enable duniter4j plugin (default: true)
#
# duniter.enabled: false
# duniter.enable: false
#
# Delete then create all indices at startup - /!\ WARNING: DO NOT set to true in production
#
......@@ -119,11 +122,11 @@ security.manager.enabled: false
#
duniter.string.analyzer: french
#
# Enabling blockchain synchronization
# Enabling blockchain synchronization (default: false)
#
duniter.blockchain.enable: true
#duniter.blockchain.event.user.enable: true
#duniter.blockchain.event.admin.enable: true
duniter.blockchain.event.user.enable: false
duniter.blockchain.event.admin.enable: false
#
# Force blockchain full synchronization - /!\ WARNING: all user events will be reset to 'unread'
#
......@@ -153,14 +156,6 @@ duniter.keyring.password: 'def'
#
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 module -------------------------
#
# Enable P2P synchronize between ES peers ? (default: true)
......@@ -182,16 +177,41 @@ duniter.p2p.discovery.enable: false
# Pass a list of hosts to always synchronize (default: <empty>)
#
duniter.p2p.includes.endpoints: [
"ES_CORE_API g1.data.duniter.fr 443",
"ES_USER_API g1.data.duniter.fr 443",
"ES_SUBSCRIPTION_API g1.data.duniter.fr 443"
]
#
# Pass a list of pubkeys to always synchronize (default: <empty>)
#
#duniter.p2p.includes.pubkeys: [
# duniter.p2p.includes.pubkeys: [
# "38MEAZN68Pz1DTvT3tqgxx4yQP6snJCQhPqEFxbDk4aE"
#]
#duniter.p2p.fullResyncAtStartup: true
# ]
#
# Enable a full synchro. This will compare each documents from other peers.
#
# duniter.p2p.fullResyncAtStartup: true
#
# Enable publishing of pod endpoints to the network (see the peer document in Duniter protocol). (Default: '${duniter.p2p.enable}')
#
# duniter.p2p.peering.enable: false
#
# Define targeted API (for peers slection) where to send the peer document (if peering is enable). (Default: ["BASIC_MERKLED_API", "BMAS"])
# This API should accept a POST request to '/network/peering' (will send a see the Duniter protocol)
#
# duniter.p2p.peering.targetedApis: [
# "ES_CORE_API"
# ]
#
# Define cluster API to publish (if peering is enable). By default, all compatible API
#
# duniter.p2p.peering.publishedApis: [
# "ES_CORE_API", "ES_USER_API", "ES_SUBSCRIPTION_API"
# ]
#
# Interval for publishing peer document to the network, in seconds. (Default: 7200 =2h)
#
#duniter.p2p.peering.interval: 60
#
# ---------------------------------- Duniter4j document moderation ---------------
#
......@@ -215,30 +235,30 @@ duniter.mail.enable: false
#
# Mail: SMTP server configuration (host and port)
#
#duniter.mail.smtp.host: localhost
#duniter.mail.smtp.port: 25
# duniter.mail.smtp.host: localhost
# duniter.mail.smtp.port: 25
#
# Mail: SMTP server SSL security
#
#duniter.mail.smtp.ssl: true
#duniter.mail.smtp.starttls: true
# duniter.mail.smtp.ssl: true
# duniter.mail.smtp.starttls: true
#
# Mail: SMTP server authentication
#
#duniter.mail.smtp.username:
#duniter.mail.smtp.password:
# duniter.mail.smtp.username:
# duniter.mail.smtp.password:
#
# Mail: 'from' address
#
#duniter.mail.from: no-reply@domain.com
# duniter.mail.from: no-reply@domain.com
#
# Mail: admin address
#
#duniter.mail.admin: user@domain.com
# duniter.mail.admin: user@domain.com
#
# Mail: subject prefix
#
#duniter.mail.subject.prefix: '[Cesium+]'
# duniter.mail.subject.prefix: '[Cesium+]'
# ---------------------------------- Duniter4j Websocket server ----------------------
#
......@@ -250,42 +270,42 @@ duniter.ws.port: 9400-9410
#
# Enable subscription module (Need to enable mail features)
#
duniter.subscription.enable: true
# duniter.subscription.enable: false
#
# Opions to DEBUG this features
#
#duniter.subscription.email.atStartup: false
#duniter.subscription.email.debug: false
# duniter.subscription.email.atStartup: false
# duniter.subscription.email.debug: false
#
# Email subscription: Day of the week to trigger weekly (default: 2 = monday)
#
#duniter.subscription.email.dayOfWeek: 2
# duniter.subscription.email.dayOfWeek: 2
#
# Email subscription: Hour in day to trigger daily email subscription (default: 3 AM)
#
#duniter.subscription.email.hourOfDay: 3
# duniter.subscription.email.hourOfDay: 3
#
# Email subscription: URL to a Cesium site, for links in the email content (default: https://g1.duniter.fr)
#
#duniter.subscription.email.link.url: 'https://domain.com/cesium'
# duniter.subscription.email.link.url: 'https://domain.com/cesium'
#
# ---------------------------------- Duniter4j Share module -------------------
#
#
# Share link: og:site_name (default: 'Cesium')
# Share title: `og:site_name` (default: 'Cesium')
#
# duniter.share.site.name: 'Cesium - Ğ1'
#
# Share page link : URL to a web site, for links to a page (default: https://g1.duniter.fr/#/app/page/view/{id}/{title} )
# Usable variables are: {id} and {title}
# URL to a page (default: https://g1.duniter.fr/#/app/page/view/{id}/{title} )
# Note: available variables are {id} and {title}
#
# duniter.share.page.link.url: 'https://domain.com/cesium/#/app/page/view/{id}/{title}'
#
# Share user link : URL to a web site, for links to a user (default: https://g1.duniter.fr/#https://g1.duniter.fr/#/app/wot/{pubkey}/{title} )
# Usable variables are: {pubkey} and {title}
# URL to a user profile (default: https://g1.duniter.fr/#/app/wot/{pubkey}/{title} )
# Note: available variables are {pubkey} and {title}
#
# duniter.share.user.link.url: 'https://domain.com/cesium/#/app/wot/{pubkey}/{title}'
#
# Share default image: URL of an image (min size of 200x200px) to use as default image for `og:image` (default: https://g1.duniter.fr/img/logo_200px.png)
# Default image to share (min size of 200x200px) for `og:image` (default: https://g1.duniter.fr/img/logo_200px.png)
#
# duniter.share.image.default.url: https://g1.duniter.fr/img/logo_200px.png
\ No newline at end of file
# duniter.share.image.default.url: 'https://domain.com/cesium/img/logo_200px.png'
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment