-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (41 loc) · 1.4 KB
/
docker-compose.yml
File metadata and controls
43 lines (41 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
include:
- docker-compose.bootstrap.yml
services:
blueskyfeed-jetstream:
image: blueskyfeed.jetstream
build:
context: .
dockerfile: BlueskyFeed/BlueskyFeed.Jetstream/Dockerfile
environment:
OTEL_DOTNET_EXPERIMENTAL_OTLP_EMIT_EXCEPTION_LOG_ATTRIBUTES: "true"
OTEL_DOTNET_EXPERIMENTAL_OTLP_EMIT_EVENT_LOG_ATTRIBUTES: "true"
OTEL_DOTNET_EXPERIMENTAL_OTLP_RETRY: "in_memory"
ConnectionStrings__mongo: "mongodb://mongo:27017"
OTEL_EXPORTER_OTLP_ENDPOINT: "http://otel-collector:4317"
OTEL_SERVICE_NAME: "BlueskyFeed.Jetstream"
depends_on:
mongo:
condition: service_healthy
restart: unless-stopped
blueskyfeed-api:
image: blueskyfeed.api
build:
context: .
dockerfile: BlueskyFeed/BlueskyFeed.Api/Dockerfile
environment:
OTEL_DOTNET_EXPERIMENTAL_OTLP_EMIT_EXCEPTION_LOG_ATTRIBUTES: "true"
OTEL_DOTNET_EXPERIMENTAL_OTLP_EMIT_EVENT_LOG_ATTRIBUTES: "true"
OTEL_DOTNET_EXPERIMENTAL_OTLP_RETRY: "in_memory"
ASPNETCORE_FORWARDEDHEADERS_ENABLED: "true"
HTTP_PORTS: "8080"
ConnectionStrings__mongo: "mongodb://mongo:27017"
OTEL_EXPORTER_OTLP_ENDPOINT: "http://otel-collector:4317"
OTEL_SERVICE_NAME: "BlueskyFeed.Api"
ports:
- "18080:8080"
- "18443:8443"
- "5275:8080"
depends_on:
mongo:
condition: service_healthy
restart: unless-stopped