mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-10-13 06:15:25 +00:00
chore(docker): make host ports customizable via environment variables
This commit is contained in:
1 parent
0a57678430
commit
66b1cd6cef
2 files changed
+4
-4
No files matched your search
@@ -9,9 +9,9 @@ services:
|
||||
jaeger:
|
||||
image: jaegertracing/all-in-one:1.68.0
|
||||
ports:
|
||||
- "16686:16686" # Jaeger UI
|
||||
- "4317:4317" # OTLP gRPC
|
||||
- "4318:4318" # OTLP HTTP
|
||||
- "${JAEGER_UI_PORT:-16686}:16686" # Jaeger UI
|
||||
- "${OTLP_GRPC_PORT:-4317}:4317" # OTLP gRPC
|
||||
- "${OTLP_HTTP_PORT:-4318}:4318" # OTLP HTTP
|
||||
environment:
|
||||
- COLLECTOR_OTLP_ENABLED=true
|
||||
restart: unless-stopped
|
||||
|
||||
@@ -8,7 +8,7 @@ services:
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
ports:
|
||||
- "6379:6379"
|
||||
- "${REDIS_PORT:-6379}:6379"
|
||||
volumes:
|
||||
- redis-data:/data
|
||||
command: redis-server --appendonly yes
|
||||
|
||||
Reference in new issue
Block a user