mirror of
https://github.com/reonokiy/compose.git
synced 2025-06-15 21:22:53 +02:00
update
This commit is contained in:
parent
4548ff398d
commit
47f64bf6fb
3 changed files with 11 additions and 20 deletions
|
@ -13,6 +13,7 @@ services:
|
||||||
DB_CONNECTION_URI: postgres://infisical:${POSTGRES_PASSWORD:-infisical}@postgres:5432/infisical
|
DB_CONNECTION_URI: postgres://infisical:${POSTGRES_PASSWORD:-infisical}@postgres:5432/infisical
|
||||||
REDIS_URL: redis://redis:6379
|
REDIS_URL: redis://redis:6379
|
||||||
SITE_URL: ${SITE_URL:-http://localhost}
|
SITE_URL: ${SITE_URL:-http://localhost}
|
||||||
|
TELEMETRY_ENABLED: false
|
||||||
ENCRYPTION_KEY: ${ENCRYPTION_KEY:-6c1fe4e407b8911c104518103505b218}
|
ENCRYPTION_KEY: ${ENCRYPTION_KEY:-6c1fe4e407b8911c104518103505b218}
|
||||||
AUTH_SECRET: ${AUTH_SECRET:-5lrMXKKWCVocS/uerPsl7V+TX/aaUaI7iDkgl3tSmLE=}
|
AUTH_SECRET: ${AUTH_SECRET:-5lrMXKKWCVocS/uerPsl7V+TX/aaUaI7iDkgl3tSmLE=}
|
||||||
# SMTP_HOST: ${SMTP_HOST}
|
# SMTP_HOST: ${SMTP_HOST}
|
||||||
|
@ -45,7 +46,7 @@ services:
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
container_name: postgres
|
container_name: postgres
|
||||||
image: postgres:${POSTGRES_VERSION:-14-alpine}
|
image: postgres:${POSTGRES_VERSION:-14}
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: infisical
|
POSTGRES_DB: infisical
|
||||||
|
|
|
@ -23,9 +23,9 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
command: [ "--config", "/etc/vector/vector.toml" ]
|
command: [ "--config", "/etc/vector/vector.toml" ]
|
||||||
environment:
|
environment:
|
||||||
OTEL_URI: ${OTEL_URI}
|
OTLP_URI: ${OTLP_URI}
|
||||||
OTEL_USER: ${OTEL_USER}
|
OTLP_USER: ${OTLP_USER}
|
||||||
OTEL_PASSWORD: ${OTEL_PASSWORD}
|
OTLP_PASSWORD: ${OTLP_PASSWORD}
|
||||||
volumes:
|
volumes:
|
||||||
- ${VECTOR_CONFIG_PATH:-./vector.toml}:/etc/vector/vector.toml:ro
|
- ${VECTOR_CONFIG_PATH:-./vector.toml}:/etc/vector/vector.toml:ro
|
||||||
- ${DATA_DIR:-./data}/vector:/var/lib/vector:Z
|
- ${DATA_DIR:-./data}/vector:/var/lib/vector:Z
|
||||||
|
|
|
@ -11,22 +11,12 @@ include_containers = ["openobserve"]
|
||||||
type = "prometheus_scrape"
|
type = "prometheus_scrape"
|
||||||
endpoints = ["http://openobserve:5080/metrics"]
|
endpoints = ["http://openobserve:5080/metrics"]
|
||||||
|
|
||||||
[sinks.otel_logs]
|
[sinks.observe_nokiy_net]
|
||||||
type = "opentelemetry"
|
type = "opentelemetry"
|
||||||
encoding = "json"
|
inputs = ["observe_nokiy_net_logs", "observe_nokiy_net_metrics"]
|
||||||
inputs = ["observe_nokiy_net_logs"]
|
|
||||||
protocol.type = "http"
|
protocol.type = "http"
|
||||||
protocol.uri = "${OTEL_URI}"
|
protocol.uri = "${OTLP_URI}/api/default"
|
||||||
protocol.auth.strategy = "basic"
|
protocol.auth.strategy = "basic"
|
||||||
protocol.auth.user = "${OTEL_USER}"
|
protocol.auth.user = "${OTLP_USER}"
|
||||||
protocol.auth.password = "${OTEL_PASSWORD}"
|
protocol.auth.password = "${OTLP_PASSWORD}"
|
||||||
protocol.compression = "zstd"
|
protocol.headers.stream-name = "observe_nokiy_net"
|
||||||
|
|
||||||
|
|
||||||
# [sinks.otel_metrics]
|
|
||||||
# type = "opentelemetry"
|
|
||||||
# inputs = ["my-source-or-transform-id"]
|
|
||||||
|
|
||||||
# [sinks.otel_traces]
|
|
||||||
# type = "opentelemetry"
|
|
||||||
# inputs = ["my-source-or-transform-id"]
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue