From 88f39c9ab01def263126e3a48736baba8397b471 Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Wed, 18 Dec 2024 01:59:42 +0300 Subject: [PATCH] Update docker-compose.yml --- docker-compose.yml | 33 ++++++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 23585df..8a60caa 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,7 +16,8 @@ services: --metrics.addr=0.0.0.0 --metrics.expensive --metrics.port=6060 --nat=extip:###IP### --rollup.disabletxpoolgossip=false --rpc.allow-unprotected-txs=true --override.fjord=1730106000 --override.granite=1730106000 --override.holocene=1734685200 --db.engine=pebble --state.scheme=hash - --port=30303 + --port=30303 --metrics.influxdb --metrics.influxdb.endpoint "http://influxdb:8086" + --metrics.influxdb.username "admin" --metrics.influxdb.password "Overdrawn-Doorframe4-Lend" --bootnodes=enode://6526c348274c54e7b4184014741897eb25e12ca388f588b0265bb2246caeea87ed5fcb2d55b7b08a90cd271a53bc76decb6d1ec37f219dbe4cd3ed53a888118b@peering-02.prd.hypersonicl2.com:30303,enode://34f172c255b11f64828d73c90a60395691e89782639423d434385594dd38b434ddffb78ad411da6fd37cbda6d0f93e17ceae399ac4f2594b0d54eb8c83c27de9@peering-01.prd.hypersonicl2.com:30303" ports: - "8551:8551" @@ -71,7 +72,7 @@ services: --p2p.ban.peers=${OP_NODE_P2P_PEER_BANNING} --p2p.advertise.ip=${P2P_ADVERTISE_IP} --metrics.port=${METRICS_PORT} --override.fjord=${OP_NODE_OVERRIDE_FJORD} --override.granite=${OP_NODE_OVERRIDE_GRANITE} --override.holocene=${OP_NODE_OVERRIDE_HOLOCENE} - --rollup.config=${ROLLUP_CONFIG} + --rollup.config=${ROLLUP_CONFIG} ports: - "9545:9545" - "7310:7310" @@ -90,12 +91,12 @@ services: max-size: 5m prometheus: - container_name: prometheus + container_name: prometheus # http://prometheus:9090 image: prom/prometheus:latest restart: unless-stopped command: --config.file=/etc/prometheus/prometheus.yml ports: - - "9090:9090" + # - "9090:9090" volumes: - ./prometheus.yml:/etc/prometheus/prometheus.yml - prometheus-data:/prometheus @@ -106,8 +107,29 @@ services: options: max-file: 5 max-size: 10m + + influxdb: + image: influxdb:latest + container_name: influxdb # http://influxdb:8086 + restart: unless-stopped + environment: + - INFLUXDB_DB=influx + - INFLUXDB_ADMIN_USER=admin + - INFLUXDB_ADMIN_PASSWORD=Overdrawn-Doorframe4-Lend + - TZ=Europe/Moscow + ports: + - '8086:8086' + volumes: + - influxdb_data:/var/lib/influxdb + networks: + - minato + logging: + driver: "json-file" + options: + max-file: 5 + max-size: 10m - grafana: + grafana: #dash 13877 image: grafana/grafana:latest container_name: grafana restart: unless-stopped @@ -133,6 +155,7 @@ services: volumes: prometheus-data: + influxdb_data: op-geth-storage: op-node-storage: op-secrets: