Skip to content

Commit

Permalink
more tweaking for env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
DGaffney committed Jun 17, 2024
1 parent 4561f6c commit eb67d13
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .env_file.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ OTEL_SERVICE_NAME=my-service-name
OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
OTEL_EXPORTER_OTLP_ENDPOINT="https://api.honeycomb.io"
OTEL_EXPORTER_OTLP_HEADERS="x-honeycomb-team=XXX"
HONEYCOMB_API_ENDPOINT="https://api.honeycomb.io"
HONEYCOMB_API_ENDPOINT="https://api.honeycomb.io"
REDIS_URL="redis://redis:6379/0"
CACHE_DEFAULT_TTL=86400
4 changes: 3 additions & 1 deletion .env_file.test
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ OTEL_SERVICE_NAME=my-service-name
OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
OTEL_EXPORTER_OTLP_ENDPOINT="https://api.honeycomb.io"
OTEL_EXPORTER_OTLP_HEADERS="x-honeycomb-team=XXX"
HONEYCOMB_API_ENDPOINT="https://api.honeycomb.io"
HONEYCOMB_API_ENDPOINT="https://api.honeycomb.io"
REDIS_URL="redis://redis:6379/0"
CACHE_DEFAULT_TTL=86400
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ services:
- OTEL_EXPORTER_OTLP_HEADERS=${OTEL_EXPORTER_OTLP_HEADERS}
- HONEYCOMB_API_KEY=${HONEYCOMB_API_KEY}
- HONEYCOMB_API_ENDPOINT=${HONEYCOMB_API_ENDPOINT}
- REDIS_URL=${REDIS_URL}
- CACHE_DEFAULT_TTL=${CACHE_DEFAULT_TTL}
env_file:
- ./.env_file
depends_on:
Expand Down

0 comments on commit eb67d13

Please sign in to comment.