-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
27 lines (27 loc) · 954 Bytes
/
docker-compose.yaml
File metadata and controls
27 lines (27 loc) · 954 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
services:
app:
build: .
init: true # Required so that the python process running inside the container can receive SIGTERM
ports:
- "6565:6565"
- "8080:8080"
environment:
- AB_BASE_URL=${AB_BASE_URL?}
- AB_CLIENT_ID=${AB_CLIENT_ID?}
- AB_CLIENT_SECRET=${AB_CLIENT_SECRET?}
- AB_NAMESPACE=${AB_NAMESPACE?}
- ITEM_ID_TO_GRANT=${ITEM_ID_TO_GRANT?}
- LOKI_URL=http://host.docker.internal:3100/loki/api/v1/push
- OTEL_EXPORTER_ZIPKIN_ENDPOINT=http://host.docker.internal:9411/api/v2/spans
- OTEL_TRACES_EXPORTER=zipkin
- OTEL_METRICS_EXPORTER=none
- GRPC_VERBOSITY=debug
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"