-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
30 lines (28 loc) · 924 Bytes
/
docker-compose.yaml
File metadata and controls
30 lines (28 loc) · 924 Bytes
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
services:
app:
build: .
ports:
- "6565:6565"
- "8080:8080"
# - "5005:5005"
environment:
- AB_CLIENT_ID=${AB_CLIENT_ID}
- AB_CLIENT_SECRET=${AB_CLIENT_SECRET}
- AB_BASE_URL=${AB_BASE_URL}
- AB_NAMESPACE=${AB_NAMESPACE}
- PLUGIN_GRPC_SERVER_AUTH_ENABLED
- OTEL_EXPORTER_ZIPKIN_ENDPOINT=http://host.docker.internal:9411/api/v2/spans
- OTEL_TRACES_EXPORTER=zipkin
- OTEL_METRICS_EXPORTER=none
- OTEL_SERVICE_NAME=ProfanityFilterGrpcPluginServerJava
- OTEL_PROPAGATORS=b3multi
# - JAVA_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
extra_hosts:
- host.docker.internal:host-gateway
# logging:
# driver: loki
# options:
# loki-url: http://host.docker.internal:3100/loki/api/v1/push
# mode: non-blocking
# max-buffer-size: 4m
# loki-retries: "3"