diff --git a/storage/dev/.gitkeep b/storage/dev/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/storage/dev/bitcoin/.gitkeep b/storage/dev/bitcoin/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/storage/dev/bitcoin/bitcoin.conf b/storage/dev/bitcoin/bitcoin.conf deleted file mode 100644 index 130bf50..0000000 --- a/storage/dev/bitcoin/bitcoin.conf +++ /dev/null @@ -1,45 +0,0 @@ -# Configuration globale -signet=1 -server=1 -datadir=$ROOT_DIR_LOGS/bitcoin - -[signet] -daemon=0 -txindex=1 -upnp=1 -#debug=1 -#loglevel=debug -logthreadnames=1 -onion=tor:$TOR_PORT -listenonion=1 -onlynet=onion - -# Paramètres RPC -rpcauth=$BITCOIN_RPC_AUTH -rpcallowip=0.0.0.0/0 -rpcworkqueue=32 -rpcthreads=4 -rpcdoccheck=1 - -# Paramètres ZMQ -zmqpubhashblock=tcp://:$BITCOIN_ZMQPBUBHASHBLOCK_PORT -zmqpubrawtx=tcp://:$BITCOIN_ZMQPUBRAWTX_PORT - -listen=1 -bind=:$BITCOIN_SIGNET_P2P_PORT -rpcbind=:$BITCOIN_SIGNET_RPC_PORT -rpcport=$BITCOIN_SIGNET_RPC_PORT -fallbackfee=0.0001 -blockfilterindex=1 -datacarriersize=205 -acceptnonstdtxn=1 -dustrelayfee=0.00000001 -minrelaytxfee=0.00000001 -prune=0 -signetchallenge=0020341c43803863c252df326e73574a27d7e19322992061017b0dc893e2eab90821 -wallet=$BITCOIN_WALLET_NAME -wallet=watchonly -maxtxfee=1 -addnode=tlv2yqamflv22vfdzy2hha2nwmt6zrwrhjjzz4lx7qyq7lyc6wfhabyd.onion -addnode=6xi33lwwslsx3yi3f7c56wnqtdx4v73vj2up3prrwebpwbz6qisnqbyd.onion -addnode=id7e3r3d2epen2v65jebjhmx77aimu7oyhcg45zadafypr4crqsytfid.onion \ No newline at end of file diff --git a/storage/dev/blindbit-oracle/.gitkeep b/storage/dev/blindbit-oracle/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/storage/dev/blindbit-oracle/blindbit.toml b/storage/dev/blindbit-oracle/blindbit.toml deleted file mode 100644 index d119478..0000000 --- a/storage/dev/blindbit-oracle/blindbit.toml +++ /dev/null @@ -1,18 +0,0 @@ -# Configuration Blindbit Oracle -host = "0.0.0.0:$BLINDBIT_PORT" -chain = "signet" -rpc_endpoint = "$BITCOIN_RPC_URL" -cookie_path = "$BITCOIN_COOKIE_PATH" -rpc_user = "" -rpc_pass = "" -sync_start_height = 1 - -# Performance -max_parallel_tweak_computations = 4 -max_parallel_requests = 4 - -# Index -tweaks_only = 0 -tweaks_full_basic = 1 -tweaks_full_with_dust_filter = 1 -tweaks_cut_through_with_dust_filter = 1 diff --git a/storage/dev/git/.gitkeep b/storage/dev/git/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/storage/dev/grafana/.gitkeep b/storage/dev/grafana/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/storage/dev/grafana/dashboards/.gitkeep b/storage/dev/grafana/dashboards/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/storage/dev/grafana/dashboards/bitcoin-miner-detailed.json b/storage/dev/grafana/dashboards/bitcoin-miner-detailed.json deleted file mode 100644 index c8469f9..0000000 --- a/storage/dev/grafana/dashboards/bitcoin-miner-detailed.json +++ /dev/null @@ -1,399 +0,0 @@ -{ - "annotations": { - "list": [] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": null, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "vis": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 1, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "sum(rate({container=\"signet_miner\"} |= \"Block mined\" [5m])) by (container)", - "queryType": "", - "refId": "A" - } - ], - "title": "Blocs Minés par Minute", - "type": "timeseries" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "vis": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "sum(rate({container=\"signet_miner\"} |= \"Hashrate\" [5m])) by (container)", - "queryType": "", - "refId": "A" - } - ], - "title": "Hashrate du Mineur", - "type": "timeseries" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 8 - }, - "id": 3, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "10.0.0", - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "count_over_time({container=\"signet_miner\"} |= \"ERROR\" [1h])", - "queryType": "", - "refId": "A" - } - ], - "title": "Erreurs du Mineur (1h)", - "type": "stat" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "hideFrom": { - "legend": false, - "tooltip": false, - "vis": false - } - }, - "mappings": [] - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 16, - "x": 8, - "y": 8 - }, - "id": 4, - "options": { - "legend": { - "displayMode": "list", - "placement": "right" - }, - "pieType": "pie", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "sum by (level) (count_over_time({container=\"signet_miner\"} | json | level != \"\" [1h]))", - "queryType": "", - "refId": "A" - } - ], - "title": "Distribution des Niveaux de Log", - "type": "piechart" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "custom": { - "align": "auto", - "cellOptions": { - "type": "auto" - }, - "inspect": false - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 16 - }, - "id": 5, - "options": { - "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, - "showHeader": true - }, - "pluginVersion": "10.0.0", - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "{container=\"signet_miner\"} |= \"Block mined\" | json | line_format \"{{.timestamp}} - Bloc {{.height}} miné - Hash: {{.hash}}\"", - "queryType": "", - "refId": "A" - } - ], - "title": "Historique des Blocs Minés", - "type": "table" - } - ], - "refresh": "5s", - "schemaVersion": 37, - "style": "dark", - "tags": [ - "bitcoin", - "miner", - "signet" - ], - "templating": { - "list": [] - }, - "time": { - "from": "now-1h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Bitcoin Miner - Détails", - "uid": "bitcoin-miner-detailed", - "version": 1, - "weekStart": "" -} - diff --git a/storage/dev/grafana/dashboards/bitcoin-miner.json b/storage/dev/grafana/dashboards/bitcoin-miner.json deleted file mode 100644 index ed0bd13..0000000 --- a/storage/dev/grafana/dashboards/bitcoin-miner.json +++ /dev/null @@ -1,160 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": null, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 1, - "options": { - "showTime": false, - "showLabels": false, - "showCommonLabels": false, - "wrapLogMessage": false, - "prettifyLogMessage": false, - "enableLogDetails": true, - "dedupStrategy": "none", - "sortOrder": "Descending" - }, - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "{job=\"bitcoin\"} |= \"block\" | logfmt", - "queryType": "", - "refId": "A" - } - ], - "title": "Bitcoin - Nouveaux Blocs", - "type": "logs" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 2, - "options": { - "showTime": false, - "showLabels": false, - "showCommonLabels": false, - "wrapLogMessage": false, - "prettifyLogMessage": false, - "enableLogDetails": true, - "dedupStrategy": "none", - "sortOrder": "Descending" - }, - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "{job=\"miner\"} |= \"mined\" | logfmt", - "queryType": "", - "refId": "A" - } - ], - "title": "Miner - Blocs Minés", - "type": "logs" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 8 - }, - "id": 3, - "options": { - "showTime": false, - "showLabels": false, - "showCommonLabels": false, - "wrapLogMessage": false, - "prettifyLogMessage": false, - "enableLogDetails": true, - "dedupStrategy": "none", - "sortOrder": "Descending" - }, - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "{job=~\"bitcoin|miner|blindbit\"} |= \"error\" | logfmt", - "queryType": "", - "refId": "A" - } - ], - "title": "Bitcoin/Miner/Blindbit - Erreurs", - "type": "logs" - } - ], - "refresh": "30s", - "schemaVersion": 36, - "style": "dark", - "tags": ["bitcoin", "miner", "blockchain"], - "templating": { - "list": [] - }, - "time": { - "from": "now-1h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Bitcoin & Miner Monitoring", - "uid": "bitcoin-miner", - "version": 1, - "weekStart": "" -} diff --git a/storage/dev/grafana/dashboards/bitcoin-services.json b/storage/dev/grafana/dashboards/bitcoin-services.json deleted file mode 100644 index 2abf2d2..0000000 --- a/storage/dev/grafana/dashboards/bitcoin-services.json +++ /dev/null @@ -1,532 +0,0 @@ -{ - "annotations": { - "list": [] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": null, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "vis": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 1, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "sum(rate({container=\"bitcoin-signet\"} |= \"UpdateTip\" [5m])) by (container)", - "queryType": "", - "refId": "A" - } - ], - "title": "Mises à Jour de la Chaîne Bitcoin", - "type": "timeseries" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "vis": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "sum(rate({container=\"blindbit-oracle\"} |= \"tweak\" [5m])) by (container)", - "queryType": "", - "refId": "A" - } - ], - "title": "Détection de Tweak (BlindBit)", - "type": "timeseries" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 6, - "x": 0, - "y": 8 - }, - "id": 3, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "10.0.0", - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "count_over_time({container=\"bitcoin-signet\"} |= \"ERROR\" [1h])", - "queryType": "", - "refId": "A" - } - ], - "title": "Erreurs Bitcoin (1h)", - "type": "stat" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 6, - "x": 6, - "y": 8 - }, - "id": 4, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "10.0.0", - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "count_over_time({container=\"blindbit-oracle\"} |= \"ERROR\" [1h])", - "queryType": "", - "refId": "A" - } - ], - "title": "Erreurs BlindBit (1h)", - "type": "stat" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 6, - "x": 12, - "y": 8 - }, - "id": 5, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "10.0.0", - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "count_over_time({container=\"bitcoin-signet\"} |= \"New block\" [1h])", - "queryType": "", - "refId": "A" - } - ], - "title": "Nouveaux Blocs (1h)", - "type": "stat" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 6, - "x": 18, - "y": 8 - }, - "id": 6, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "10.0.0", - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "count_over_time({container=\"blindbit-oracle\"} |= \"Silent payment\" [1h])", - "queryType": "", - "refId": "A" - } - ], - "title": "Silent Payments (1h)", - "type": "stat" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "custom": { - "align": "auto", - "cellOptions": { - "type": "auto" - }, - "inspect": false - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 12 - }, - "id": 7, - "options": { - "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, - "showHeader": true - }, - "pluginVersion": "10.0.0", - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "{container=~\"bitcoin-signet|blindbit-oracle\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.container}} - {{.message}}\"", - "queryType": "", - "refId": "A" - } - ], - "title": "Erreurs Bitcoin Services", - "type": "table" - } - ], - "refresh": "5s", - "schemaVersion": 37, - "style": "dark", - "tags": [ - "bitcoin", - "signet", - "blindbit", - "oracle" - ], - "templating": { - "list": [] - }, - "time": { - "from": "now-1h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Bitcoin Services - Monitoring", - "uid": "bitcoin-services", - "version": 1, - "weekStart": "" -} - diff --git a/storage/dev/grafana/dashboards/blindbit-oracle.json b/storage/dev/grafana/dashboards/blindbit-oracle.json deleted file mode 100644 index 9d0a0fa..0000000 --- a/storage/dev/grafana/dashboards/blindbit-oracle.json +++ /dev/null @@ -1,192 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": "-- Grafana --", - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "type": "dashboard" - } - ] - }, - "editable": true, - "gnetId": null, - "graphTooltip": 0, - "id": null, - "links": [], - "panels": [ - { - "datasource": "Loki", - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 1, - "options": { - "showLabels": false, - "showTime": false, - "sortOrder": "Descending", - "wrapLogMessage": false - }, - "targets": [ - { - "expr": "{job=\"blindbit\"} |= \"Host configuration loaded\"", - "refId": "A" - } - ], - "title": "BlindBit Oracle - Configuration Loaded", - "type": "logs" - }, - { - "datasource": "Loki", - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 2, - "options": { - "showLabels": false, - "showTime": false, - "sortOrder": "Descending", - "wrapLogMessage": false - }, - "targets": [ - { - "expr": "{job=\"blindbit\"} |= \"Sync took\"", - "refId": "A" - } - ], - "title": "BlindBit Oracle - Synchronization", - "type": "logs" - }, - { - "datasource": "Loki", - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 8 - }, - "id": 3, - "options": { - "showLabels": false, - "showTime": false, - "sortOrder": "Descending", - "wrapLogMessage": false - }, - "targets": [ - { - "expr": "{job=\"blindbit\"} |= \"successfully processed block\"", - "refId": "A" - } - ], - "title": "BlindBit Oracle - Block Processing", - "type": "logs" - }, - { - "datasource": "Loki", - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 16 - }, - "id": 4, - "options": { - "showLabels": false, - "showTime": false, - "sortOrder": "Descending", - "wrapLogMessage": false - }, - "targets": [ - { - "expr": "{job=\"blindbit\"} |= \"GET\" |~ \"/tweaks/\"", - "refId": "A" - } - ], - "title": "BlindBit Oracle - API Requests", - "type": "logs" - }, - { - "datasource": "Loki", - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 16 - }, - "id": 5, - "options": { - "showLabels": false, - "showTime": false, - "sortOrder": "Descending", - "wrapLogMessage": false - }, - "targets": [ - { - "expr": "{job=\"blindbit\"} |~ \"ERROR|error|Error\"", - "refId": "A" - } - ], - "title": "BlindBit Oracle - Errors", - "type": "logs" - } - ], - "schemaVersion": 27, - "style": "dark", - "tags": [ - "blindbit", - "oracle", - "blockchain" - ], - "templating": { - "list": [] - }, - "time": { - "from": "now-1h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "BlindBit Oracle Dashboard", - "uid": "blindbit-oracle", - "version": 1 -} - diff --git a/storage/dev/grafana/dashboards/frontend-services.json b/storage/dev/grafana/dashboards/frontend-services.json deleted file mode 100644 index 262feb0..0000000 --- a/storage/dev/grafana/dashboards/frontend-services.json +++ /dev/null @@ -1,532 +0,0 @@ -{ - "annotations": { - "list": [] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": null, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "vis": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 1, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "sum(rate({container=~\"lecoffre-front|ihm_client\"} |= \"GET\" [5m])) by (container)", - "queryType": "", - "refId": "A" - } - ], - "title": "Requêtes HTTP par Frontend", - "type": "timeseries" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "vis": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "sum(rate({container=\"ihm_client\"} |= \"vite\" [5m])) by (container)", - "queryType": "", - "refId": "A" - } - ], - "title": "Activité Vite (IHM Client)", - "type": "timeseries" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 6, - "x": 0, - "y": 8 - }, - "id": 3, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "10.0.0", - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "count_over_time({container=\"lecoffre-front\"} |= \"ERROR\" [1h])", - "queryType": "", - "refId": "A" - } - ], - "title": "Erreurs LeCoffre Front (1h)", - "type": "stat" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 6, - "x": 6, - "y": 8 - }, - "id": 4, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "10.0.0", - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "count_over_time({container=\"ihm_client\"} |= \"ERROR\" [1h])", - "queryType": "", - "refId": "A" - } - ], - "title": "Erreurs IHM Client (1h)", - "type": "stat" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 6, - "x": 12, - "y": 8 - }, - "id": 5, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "10.0.0", - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "sum(count_over_time({container=~\"lecoffre-front|ihm_client\"} [1h]))", - "queryType": "", - "refId": "A" - } - ], - "title": "Total Logs Frontend (1h)", - "type": "stat" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 6, - "x": 18, - "y": 8 - }, - "id": 6, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "10.0.0", - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "count_over_time({container=\"ihm_client\"} |= \"Pre-transform error\" [1h])", - "queryType": "", - "refId": "A" - } - ], - "title": "Erreurs Vite (1h)", - "type": "stat" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "custom": { - "align": "auto", - "cellOptions": { - "type": "auto" - }, - "inspect": false - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 12 - }, - "id": 7, - "options": { - "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, - "showHeader": true - }, - "pluginVersion": "10.0.0", - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "{container=~\"lecoffre-front|ihm_client\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.container}} - {{.message}}\"", - "queryType": "", - "refId": "A" - } - ], - "title": "Erreurs Récentes Frontend", - "type": "table" - } - ], - "refresh": "5s", - "schemaVersion": 37, - "style": "dark", - "tags": [ - "frontend", - "lecoffre", - "ihm", - "client" - ], - "templating": { - "list": [] - }, - "time": { - "from": "now-1h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Frontend Services - Monitoring", - "uid": "frontend-services", - "version": 1, - "weekStart": "" -} - diff --git a/storage/dev/grafana/dashboards/lecoffre-overview.json b/storage/dev/grafana/dashboards/lecoffre-overview.json deleted file mode 100644 index 9ecf781..0000000 --- a/storage/dev/grafana/dashboards/lecoffre-overview.json +++ /dev/null @@ -1,252 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": null, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "vis": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 1, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "sum by (service) (count_over_time({job=~\".*\"} |= \"error\" [5m]))", - "queryType": "", - "refId": "A" - } - ], - "title": "Erreurs par Service (5 dernières minutes)", - "type": "timeseries" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "vis": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "sum by (service) (count_over_time({job=~\".*\"} [5m]))", - "queryType": "", - "refId": "A" - } - ], - "title": "Volume de Logs par Service (5 dernières minutes)", - "type": "timeseries" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "gridPos": { - "h": 12, - "w": 24, - "x": 0, - "y": 8 - }, - "id": 3, - "options": { - "showTime": false, - "showLabels": false, - "showCommonLabels": false, - "wrapLogMessage": false, - "prettifyLogMessage": false, - "enableLogDetails": true, - "dedupStrategy": "none", - "sortOrder": "Descending" - }, - "title": "Logs d'Erreur - Tous Services", - "type": "logs" - } - ], - "refresh": "30s", - "schemaVersion": 36, - "style": "dark", - "tags": ["lecoffre", "monitoring"], - "templating": { - "list": [] - }, - "time": { - "from": "now-1h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "LeCoffre Node - Vue d'ensemble", - "uid": "lecoffre-overview", - "version": 1, - "weekStart": "" -} diff --git a/storage/dev/grafana/dashboards/sdk-services.json b/storage/dev/grafana/dashboards/sdk-services.json deleted file mode 100644 index 112fa6a..0000000 --- a/storage/dev/grafana/dashboards/sdk-services.json +++ /dev/null @@ -1,594 +0,0 @@ -{ - "annotations": { - "list": [] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": null, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "vis": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 0 - }, - "id": 1, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "sum(rate({container=~\"sdk_.*\"} |= \"message\" [5m])) by (container)", - "queryType": "", - "refId": "A" - } - ], - "title": "Messages par Service SDK", - "type": "timeseries" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "vis": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 0 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "sum(rate({container=\"sdk_relay\"} |= \"transaction\" [5m])) by (container)", - "queryType": "", - "refId": "A" - } - ], - "title": "Transactions Relay", - "type": "timeseries" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "vis": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 0 - }, - "id": 3, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "title": "Signatures Signer", - "type": "timeseries" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 6, - "x": 0, - "y": 8 - }, - "id": 4, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "10.0.0", - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "count_over_time({container=\"sdk_relay\"} |= \"ERROR\" [1h])", - "queryType": "", - "refId": "A" - } - ], - "title": "Erreurs Relay (1h)", - "type": "stat" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 6, - "x": 6, - "y": 8 - }, - "id": 5, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "10.0.0", - "title": "Erreurs Signer (1h)", - "type": "stat" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 6, - "x": 12, - "y": 8 - }, - "id": 6, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "10.0.0", - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "count_over_time({container=\"sdk_storage\"} |= \"ERROR\" [1h])", - "queryType": "", - "refId": "A" - } - ], - "title": "Erreurs Storage (1h)", - "type": "stat" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 6, - "x": 18, - "y": 8 - }, - "id": 7, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "10.0.0", - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "sum(count_over_time({container=~\"sdk_.*\"} [1h]))", - "queryType": "", - "refId": "A" - } - ], - "title": "Total Logs SDK (1h)", - "type": "stat" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "custom": { - "align": "auto", - "cellOptions": { - "type": "auto" - }, - "inspect": false - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 12 - }, - "id": 8, - "options": { - "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, - "showHeader": true - }, - "pluginVersion": "10.0.0", - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "{container=~\"sdk_.*\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.container}} - {{.message}}\"", - "queryType": "", - "refId": "A" - } - ], - "title": "Erreurs Récentes SDK", - "type": "table" - } - ], - "refresh": "5s", - "schemaVersion": 37, - "style": "dark", - "tags": [ - "sdk", - "relay", - "signer", - "storage" - ], - "templating": { - "list": [] - }, - "time": { - "from": "now-1h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "SDK Services - Monitoring", - "uid": "sdk-services", - "version": 1, - "weekStart": "" -} diff --git a/storage/dev/grafana/dashboards/services-overview.json b/storage/dev/grafana/dashboards/services-overview.json deleted file mode 100644 index b27238f..0000000 --- a/storage/dev/grafana/dashboards/services-overview.json +++ /dev/null @@ -1,418 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": null, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "vis": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 6, - "x": 0, - "y": 0 - }, - "id": 1, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "title": "LeCoffre Backend - Volume Logs", - "type": "timeseries" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "vis": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 6, - "x": 6, - "y": 0 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "sum by (service) (count_over_time({job=\"lecoffre-front\"} [5m]))", - "queryType": "", - "refId": "A" - } - ], - "title": "LeCoffre Frontend - Volume Logs", - "type": "timeseries" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "vis": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 6, - "x": 12, - "y": 0 - }, - "id": 3, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "sum by (service) (count_over_time({job=\"ihm_client\"} [5m]))", - "queryType": "", - "refId": "A" - } - ], - "title": "IHM Client - Volume Logs", - "type": "timeseries" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "vis": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 6, - "x": 18, - "y": 0 - }, - "id": 4, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "editorMode": "code", - "expr": "sum by (service) (count_over_time({job=\"sdk_relay\"} [5m]))", - "queryType": "", - "refId": "A" - } - ], - "title": "SDK Relay - Volume Logs", - "type": "timeseries" - }, - { - "datasource": { - "type": "loki", - "uid": "loki" - }, - "gridPos": { - "h": 12, - "w": 24, - "x": 0, - "y": 8 - }, - "id": 5, - "options": { - "showTime": false, - "showLabels": false, - "showCommonLabels": false, - "wrapLogMessage": false, - "prettifyLogMessage": false, - "enableLogDetails": true, - "dedupStrategy": "none", - "sortOrder": "Descending" - }, - "title": "Logs d'Erreur - Services Applications", - "type": "logs" - } - ], - "refresh": "30s", - "schemaVersion": 36, - "style": "dark", - "tags": ["services", "applications"], - "templating": { - "list": [] - }, - "time": { - "from": "now-1h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Services Applications - Monitoring", - "uid": "services-overview", - "version": 1, - "weekStart": "" -} diff --git a/storage/dev/grafana/grafana.ini b/storage/dev/grafana/grafana.ini deleted file mode 100644 index e357327..0000000 --- a/storage/dev/grafana/grafana.ini +++ /dev/null @@ -1,57 +0,0 @@ -# Configuration Grafana avancée pour LeCoffre Node - -[server] -# URL publique de Grafana -root_url = $GRAFANA_URL - -# Configuration de sécurité -enable_gzip = true -cert_file = -cert_key = -enforce_domain = false - -[security] -# Configuration de sécurité -admin_user = admin -admin_password = admin123 -secret_key = lecoffre_grafana_secret_key_2025 - -# Configuration des sessions -cookie_secure = true -cookie_samesite = strict - -[users] -# Configuration des utilisateurs -allow_sign_up = false -allow_org_create = false -auto_assign_org = true -auto_assign_org_id = 1 -auto_assign_org_role = Viewer - -[auth.anonymous] -# Accès anonyme désactivé pour la sécurité -enabled = false - -[dashboards] -# Configuration des dashboards -default_home_dashboard_path = $GRAFANA_CONF_DIR/dashboards/lecoffre-overview.json - -[unified_alerting] -# Configuration des alertes unifiées -enabled = true - -[log] -# Configuration des logs Grafana -mode = console -level = info -format = json - -[metrics] -# Métriques Prometheus -enabled = true -basic_auth_username = -basic_auth_password = - -[feature_toggles] -# Fonctionnalités activées -enable = traceqlEditor diff --git a/storage/dev/ihm_client/.gitkeep b/storage/dev/ihm_client/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/storage/dev/lecoffre-back-mini/.gitkeep b/storage/dev/lecoffre-back-mini/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/storage/dev/lecoffre-front/.gitkeep b/storage/dev/lecoffre-front/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/storage/dev/lecoffre_node/.gitkeep b/storage/dev/lecoffre_node/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/storage/dev/logrotade/.gitkeep b/storage/dev/logrotade/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/storage/dev/logrotade/bitcoin.conf b/storage/dev/logrotade/bitcoin.conf deleted file mode 100644 index cf09ecd..0000000 --- a/storage/dev/logrotade/bitcoin.conf +++ /dev/null @@ -1,13 +0,0 @@ -$BITCOIN_LOGS_DIR/*.log { - daily - missingok - rotate 7 - compress - delaycompress - notifempty - create 644 root root - postrotate - # Redémarrer le service si nécessaire - docker restart bitcoin 2>/dev/null || true - endscript -} diff --git a/storage/dev/logrotade/blindbit.conf b/storage/dev/logrotade/blindbit.conf deleted file mode 100644 index afd72c0..0000000 --- a/storage/dev/logrotade/blindbit.conf +++ /dev/null @@ -1,13 +0,0 @@ -$BLINDBIT_LOGS_DIR/*.log { - daily - missingok - rotate 7 - compress - delaycompress - notifempty - create 644 root root - postrotate - # Redémarrer le service si nécessaire - docker restart blindbit 2>/dev/null || true - endscript -} diff --git a/storage/dev/logrotade/ihm_client.conf b/storage/dev/logrotade/ihm_client.conf deleted file mode 100644 index 9b9d342..0000000 --- a/storage/dev/logrotade/ihm_client.conf +++ /dev/null @@ -1,13 +0,0 @@ -$IHM_CLIENT_LOGS_DIR/*.log { - daily - missingok - rotate 7 - compress - delaycompress - notifempty - create 644 root root - postrotate - # Redémarrer le service si nécessaire - docker restart ihm_client 2>/dev/null || true - endscript -} diff --git a/storage/dev/logrotade/lecoffre-front.conf b/storage/dev/logrotade/lecoffre-front.conf deleted file mode 100644 index 9ce4f8b..0000000 --- a/storage/dev/logrotade/lecoffre-front.conf +++ /dev/null @@ -1,13 +0,0 @@ -$MINER_LOGS_DIR/*.log { - daily - missingok - rotate 7 - compress - delaycompress - notifempty - create 644 root root - postrotate - # Redémarrer le service si nécessaire - docker restart lecoffre-front 2>/dev/null || true - endscript -} diff --git a/storage/dev/logrotade/miner.conf b/storage/dev/logrotade/miner.conf deleted file mode 100644 index a9cbd4a..0000000 --- a/storage/dev/logrotade/miner.conf +++ /dev/null @@ -1,13 +0,0 @@ -$ROOT_DIR_LOGS_MINER/*.log { - daily - missingok - rotate 7 - compress - delaycompress - notifempty - create 644 root root - postrotate - # Redémarrer le service si nécessaire - docker restart miner 2>/dev/null || true - endscript -} diff --git a/storage/dev/logrotade/nginx.conf b/storage/dev/logrotade/nginx.conf deleted file mode 100644 index 6eb9f3e..0000000 --- a/storage/dev/logrotade/nginx.conf +++ /dev/null @@ -1,13 +0,0 @@ -$NGINX_LOGS_DIR/*.log { - daily - missingok - rotate 7 - compress - delaycompress - notifempty - create 644 root root - postrotate - # Redémarrer le service si nécessaire - docker restart nginx 2>/dev/null || true - endscript -} diff --git a/storage/dev/logrotade/sdk_relay.conf b/storage/dev/logrotade/sdk_relay.conf deleted file mode 100644 index cb70cec..0000000 --- a/storage/dev/logrotade/sdk_relay.conf +++ /dev/null @@ -1,13 +0,0 @@ -$SDK_RELAY_LOGS_DIR/*.log { - daily - missingok - rotate 7 - compress - delaycompress - notifempty - create 644 root root - postrotate - # Redémarrer le service si nécessaire - docker restart sdk_relay 2>/dev/null || true - endscript -} diff --git a/storage/dev/logrotade/sdk_storage.conf b/storage/dev/logrotade/sdk_storage.conf deleted file mode 100644 index b7682ad..0000000 --- a/storage/dev/logrotade/sdk_storage.conf +++ /dev/null @@ -1,13 +0,0 @@ -$SDK_STORAGE_LOGS_DIR/*.log { - daily - missingok - rotate 7 - compress - delaycompress - notifempty - create 644 root root - postrotate - # Redémarrer le service si nécessaire - docker restart sdk_storage 2>/dev/null || true - endscript -} diff --git a/storage/dev/logrotade/tor.conf b/storage/dev/logrotade/tor.conf deleted file mode 100644 index 6c975dc..0000000 --- a/storage/dev/logrotade/tor.conf +++ /dev/null @@ -1,13 +0,0 @@ -$TOR_LOGS_DIR/*.log { - daily - missingok - rotate 7 - compress - delaycompress - notifempty - create 644 root root - postrotate - # Redémarrer le service si nécessaire - docker restart tor 2>/dev/null || true - endscript -} diff --git a/storage/dev/loki/.gitkeep b/storage/dev/loki/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/storage/dev/loki/.gitkeep copy b/storage/dev/loki/.gitkeep copy deleted file mode 100644 index e69de29..0000000 diff --git a/storage/dev/loki/loki-config.yaml b/storage/dev/loki/loki-config.yaml deleted file mode 100644 index 175e1fc..0000000 --- a/storage/dev/loki/loki-config.yaml +++ /dev/null @@ -1,76 +0,0 @@ -auth_enabled: false - -server: - http_listen_port: $LOKI_PORT - grpc_listen_port: 9096 - http_listen_address: 0.0.0.0 - grpc_listen_address: 0.0.0.0 - -common: - instance_addr: 0.0.0.0 - path_prefix: /loki - storage: - filesystem: - chunks_directory: /loki/chunks - rules_directory: /loki/rules - replication_factor: 1 - ring: - kvstore: - store: inmemory - -schema_config: - configs: - - from: 2020-10-24 - store: tsdb - object_store: filesystem - schema: v13 - index: - prefix: index_ - period: 24h - -ruler: - alertmanager_url: http://localhost:9093 - -# Configuration de l'ingester - SEULEMENT le paramètre crucial -ingester: - lifecycler: - min_ready_duration: 5s # Réduit le délai de 15s à 5s - -# Configuration des limites -limits_config: - reject_old_samples: true - reject_old_samples_max_age: 168h - max_cache_freshness_per_query: 10m - split_queries_by_interval: 15m - max_query_parallelism: 32 - max_streams_per_user: 0 - max_line_size: 256000 - ingestion_rate_mb: 16 - ingestion_burst_size_mb: 32 - per_stream_rate_limit: 3MB - per_stream_rate_limit_burst: 15MB - max_entries_limit_per_query: 5000 - max_query_series: 500 - max_query_length: 721h - cardinality_limit: 100000 - max_streams_matchers_per_query: 1000 - max_concurrent_tail_requests: 10 - -# Configuration du storage -storage_config: - tsdb_shipper: - active_index_directory: /loki/tsdb-index - cache_location: /loki/tsdb-cache - filesystem: - directory: /loki/chunks - -# Configuration du compactor -compactor: - working_directory: /loki/compactor - compaction_interval: 10m - retention_enabled: false - delete_request_store: filesystem - -# Analytics désactivés -analytics: - reporting_enabled: false \ No newline at end of file diff --git a/storage/dev/monitoring/.gitkeep b/storage/dev/monitoring/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/storage/dev/promtail/.gitkeep b/storage/dev/promtail/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/storage/dev/promtail/.gitkeep copy b/storage/dev/promtail/.gitkeep copy deleted file mode 100644 index e69de29..0000000 diff --git a/storage/dev/promtail/promtail.yml b/storage/dev/promtail/promtail.yml deleted file mode 100644 index a97de52..0000000 --- a/storage/dev/promtail/promtail.yml +++ /dev/null @@ -1,107 +0,0 @@ -server: - http_listen_port: $PROMTAIL_PORT - grpc_listen_port: 0 - -positions: - filename: /tmp/positions.yaml - -clients: - - url: $LOKI_URL/loki/api/v1/push - -scrape_configs: - # Bitcoin Signet Logs - - job_name: bitcoin - static_configs: - - targets: - - localhost - labels: - job: bitcoin - service: bitcoin-signet - __path__: $BITCOIN_LOGS_DIR/*.log - - # Blindbit Oracle Logs - - job_name: blindbit - static_configs: - - targets: - - localhost - labels: - job: blindbit - service: blindbit-oracle - __path__:$BLINDBIT_LOGS_DIR/*.log - - # SDK Relay Logs - - job_name: sdk_relay - static_configs: - - targets: - - localhost - labels: - job: sdk_relay - service: sdk_relay - __path__:$SDK_RELAY_LOGS_DIR/*.log - - # SDK Storage Logs - - job_name: sdk_storage - static_configs: - - targets: - - localhost - labels: - job: sdk_storage - service: sdk_storage - __path__: $SDK_STORAGE_LOGS_DIR/*.log - - # LeCoffre Frontend Logs - - job_name: lecoffre-front - static_configs: - - targets: - - localhost - labels: - job: lecoffre-front - service: lecoffre-front - __path__: $LECOFFRE_FRONT_LOGS_DIR/*.log - - # IHM Client Logs - - job_name: ihm_client - static_configs: - - targets: - - localhost - labels: - job: ihm_client - service: ihm_client - __path__: $IHM_CLIENT_LOGS_DIR/*.log - - # Miner Logs - - job_name: miner - static_configs: - - targets: - - localhost - labels: - job: miner - service: signet_miner - __path__:$MINER_LOGS_DIR/*.log - - # Tor Logs - - job_name: tor - static_configs: - - targets: - - localhost - labels: - job: tor - service: tor-proxy - __path__: $TOR_LOGS_DIR/*.log - - # Docker Container Logs - - job_name: docker - docker_sd_configs: - - host: unix:///var/run/docker.sock - refresh_interval: 5s - filters: - - name: label - values: ["com.centurylinklabs.watchtower.enable=true"] - relabel_configs: - - source_labels: ['__meta_docker_container_name'] - regex: '/?(.*)' - target_label: 'container_name' - - source_labels: ['__meta_docker_container_log_stream'] - target_label: 'logstream' - - source_labels: ['__meta_docker_container_label_logging_job_name'] - target_label: 'job' diff --git a/storage/dev/sdk_relay/.gitkeep b/storage/dev/sdk_relay/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/storage/dev/sdk_relay/sdk_relay.conf b/storage/dev/sdk_relay/sdk_relay.conf deleted file mode 100644 index bef7411..0000000 --- a/storage/dev/sdk_relay/sdk_relay.conf +++ /dev/null @@ -1,11 +0,0 @@ -core_url=$BITCOIN_RPBC_URL -ws_url=0.0.0.0:$SDK_RELAY_PORT -wallet_name=$BITCOIN_WALLET_NAME -network=signet -blindbit_url=$BLINDBIT_URL -zmq_url=$ZMQ_URL -storage=$STORAGE_URL -data_dir=$SDK_RELAY_DATA_DIR -bitcoin_data_dir=$BITCOIN_DATA_DIR -bootstrap_url=$RELAY_BOOSTRAP_URL -bootstrap_faucet=true diff --git a/storage/dev/sdk_storage/.gitkeep b/storage/dev/sdk_storage/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/storage/dev/signer/.gitkeep b/storage/dev/signer/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/storage/dev/supervisor/.gitkeep b/storage/dev/supervisor/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/storage/dev/supervisor/supervisord.conf b/storage/dev/supervisor/supervisord.conf deleted file mode 100644 index b4b99e7..0000000 --- a/storage/dev/supervisor/supervisord.conf +++ /dev/null @@ -1,51 +0,0 @@ -[supervisord] -nodaemon=true -user=root -logfile=/var/log/supervisor/supervisord.log -pidfile=/var/run/supervisord.pid -childlogdir=/var/log/supervisor - -[unix_http_server] -file=/var/run/supervisor.sock -chmod=0700 - -[supervisorctl] -serverurl=unix:///var/run/supervisor.sock - -[rpcinterface:supervisor] -supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface - -[program:nginx] -command=/usr/sbin/nginx -g "daemon off;" -autostart=true -autorestart=true -stderr_logfile=/var/log/supervisor/nginx.err.log -stdout_logfile=/var/log/supervisor/nginx.out.log -user=root - -[program:docker-compose] -command=/app/scripts/startup.sh -directory=/app -autostart=true -autorestart=true -stderr_logfile=/var/log/supervisor/docker-compose.err.log -stdout_logfile=/var/log/supervisor/docker-compose.out.log -user=appuser -environment=HOME="/app" - -[program:cron] -command=/usr/sbin/cron -f -autostart=true -autorestart=true -stderr_logfile=/var/log/supervisor/cron.err.log -stdout_logfile=/var/log/supervisor/cron.out.log -user=root - -[program:logrotate] -command=/usr/sbin/logrotate /etc/logrotate.d/lecoffre -autostart=true -autorestart=false -startsecs=0 -exitcodes=0 -user=root - diff --git a/storage/dev/tor/.gitkeep b/storage/dev/tor/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/storage/dev/tor/torrc b/storage/dev/tor/torrc deleted file mode 100644 index 6ab8c4a..0000000 --- a/storage/dev/tor/torrc +++ /dev/null @@ -1,21 +0,0 @@ -# Configuration Tor pour LeCoffre Node -# Écoute sur 127.0.0.1 pour la sécurité - -# Port SOCKS pour les connexions sortantes -SOCKSPort 127.0.0.1:9050 - -# Port de contrôle (désactivé pour la sécurité) -# ControlPort 127.0.0.1:$TOR_PORT - -# Configuration de base -Log notice file $TOR_LOGS_DIR/tor.log -DataDirectory $SDK_TOR_DATA_DIR - -# Configuration réseau -ClientOnly 1 -SafeLogging 1 -WarnUnsafeSocks 1 - -# Désactiver les services cachés -HiddenServiceDir $SDK_TOR_DATA_DIR/hidden_service/ -HiddenServicePort 80 127.0.0.1:80