mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2025-04-04 15:35:18 +00:00
Compare commits
3 Commits
f351bf799f
...
be84b7952b
Author | SHA1 | Date | |
---|---|---|---|
![]() |
be84b7952b | ||
![]() |
8f17a7ad72 | ||
![]() |
b352184dc6 |
3
Cargo.lock
generated
3
Cargo.lock
generated
@ -4715,9 +4715,10 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "metrics"
|
name = "metrics"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/Conflux-Chain/conflux-rust.git?rev=992ebc5483d937c8f6b883e266f8ed2a67a7fa9a#992ebc5483d937c8f6b883e266f8ed2a67a7fa9a"
|
source = "git+https://github.com/Conflux-Chain/conflux-rust.git?rev=c4734e337c66d38e6396742cd5117b596e8d2603#c4734e337c66d38e6396742cd5117b596e8d2603"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
|
"duration-str",
|
||||||
"futures",
|
"futures",
|
||||||
"influx_db_client",
|
"influx_db_client",
|
||||||
"lazy_static",
|
"lazy_static",
|
||||||
|
@ -28,7 +28,7 @@ members = [
|
|||||||
resolver = "2"
|
resolver = "2"
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
metrics = { git = "https://github.com/Conflux-Chain/conflux-rust.git", rev = "992ebc5483d937c8f6b883e266f8ed2a67a7fa9a" }
|
metrics = { git = "https://github.com/Conflux-Chain/conflux-rust.git", rev = "c4734e337c66d38e6396742cd5117b596e8d2603" }
|
||||||
|
|
||||||
[patch.crates-io]
|
[patch.crates-io]
|
||||||
discv5 = { path = "version-meld/discv5" }
|
discv5 = { path = "version-meld/discv5" }
|
||||||
|
6
DockerfileStandard
Normal file
6
DockerfileStandard
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
FROM rust
|
||||||
|
VOLUME ["/data"]
|
||||||
|
COPY . .
|
||||||
|
RUN apt-get update && apt-get install -y clang cmake build-essential pkg-config libssl-dev
|
||||||
|
RUN cargo build --release
|
||||||
|
CMD ["./target/release/zgs_node", "--config", "run/config-testnet-standard.toml", "--log", "run/log_config"]
|
6
DockerfileTurbo
Normal file
6
DockerfileTurbo
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
FROM rust
|
||||||
|
VOLUME ["/data"]
|
||||||
|
COPY . .
|
||||||
|
RUN apt-get update && apt-get install -y clang cmake build-essential pkg-config libssl-dev
|
||||||
|
RUN cargo build --release
|
||||||
|
CMD ["./target/release/zgs_node", "--config", "run/config-testnet-turbo.toml", "--log", "run/log_config"]
|
@ -324,7 +324,7 @@ auto_sync_enabled = true
|
|||||||
# enabled = false
|
# enabled = false
|
||||||
|
|
||||||
# Interval to output metrics periodically, e.g. "10s", "30s" or "60s".
|
# Interval to output metrics periodically, e.g. "10s", "30s" or "60s".
|
||||||
# report_interval = ""
|
# report_interval = "10s"
|
||||||
|
|
||||||
# File name to output metrics periodically.
|
# File name to output metrics periodically.
|
||||||
# file_report_output = ""
|
# file_report_output = ""
|
||||||
|
@ -336,7 +336,7 @@ auto_sync_enabled = true
|
|||||||
# enabled = false
|
# enabled = false
|
||||||
|
|
||||||
# Interval to output metrics periodically, e.g. "10s", "30s" or "60s".
|
# Interval to output metrics periodically, e.g. "10s", "30s" or "60s".
|
||||||
# report_interval = ""
|
# report_interval = "10s"
|
||||||
|
|
||||||
# File name to output metrics periodically.
|
# File name to output metrics periodically.
|
||||||
# file_report_output = ""
|
# file_report_output = ""
|
||||||
|
@ -338,7 +338,7 @@
|
|||||||
# enabled = false
|
# enabled = false
|
||||||
|
|
||||||
# Interval to output metrics periodically, e.g. "10s", "30s" or "60s".
|
# Interval to output metrics periodically, e.g. "10s", "30s" or "60s".
|
||||||
# report_interval = ""
|
# report_interval = "10s"
|
||||||
|
|
||||||
# File name to output metrics periodically.
|
# File name to output metrics periodically.
|
||||||
# file_report_output = ""
|
# file_report_output = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user