Skip to content

Commit

Permalink
optimize: docker-compose.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
L2ncE committed Dec 12, 2024
1 parent 55e41dd commit 25eb612
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 5 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,10 @@ services:

# Consul
consul:
image: consul:latest
command: agent -dev -client=0.0.0.0
image: consul:1.15
command: agent -server -bootstrap-expect=1 -client=0.0.0.0 -ui
volumes:
- ./data/consul:/consul/data
ports:
- "8500:8500"
- "8300:8300"
Expand All @@ -73,7 +75,7 @@ services:

# Collector
otel-collector:
image: otel/opentelemetry-collector-contrib-dev:latest
image: otel/opentelemetry-collector-contrib:0.84.0
command: [ "--config=/etc/otel-collector-config.yaml", "${OTELCOL_ARGS}" ]
volumes:
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml
Expand Down
1 change: 0 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,6 @@ github.com/hertz-contrib/gzip v0.0.1 h1:fPCnSZIDT4Gd8ZTuoCCJXek0opUsN89T2djdEW7A
github.com/hertz-contrib/gzip v0.0.1/go.mod h1:Fom/vnPMLA3UJ/P8fsZO8izjWG82m53BGO48lW1U1l8=
github.com/hertz-contrib/http2 v0.1.7 h1:ao5esLuQxiLMDNTRkqdlWMiCniC/EJRtSK/0SUrXbzo=
github.com/hertz-contrib/http2 v0.1.7/go.mod h1:m42hrl8fiTwE4p8c7JdRUZpkePEthvV89q3elL2GeD0=
github.com/hertz-contrib/limiter v0.0.0-20221008063035-ad27db7cc386 h1:2eA9mfuQXp5Q3iw/6eRHSauGXdgwoieo1M+n/Prr3sw=
github.com/hertz-contrib/limiter v0.0.0-20221008063035-ad27db7cc386/go.mod h1:AbbWS9XwvXFwC7f9O9sH6Z78Pw508D5YPXgII+SCEHc=
github.com/hertz-contrib/obs-opentelemetry/logging/logrus v0.1.1 h1:4KR/JoIc8PSbVucOzsLSJOtVgDowwNG6/C/GkrpPXHI=
github.com/hertz-contrib/obs-opentelemetry/logging/logrus v0.1.1/go.mod h1:dLQsSFKUVF4pya7kLlF6l1T69+mOPObotXGJO8ptbho=
Expand Down

0 comments on commit 25eb612

Please sign in to comment.