-
Notifications
You must be signed in to change notification settings - Fork 151
/
Copy pathdocker-compose.yml
33 lines (31 loc) · 969 Bytes
/
docker-compose.yml
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
services:
bootzooka:
image: 'softwaremill/bootzooka:latest'
ports:
- '8080:8080'
depends_on:
- bootzooka-db
environment:
SQL_USERNAME: 'postgres'
SQL_PASSWORD: 'b00t200k4'
SQL_DBNAME: 'bootzooka'
SQL_HOST: 'bootzooka-db'
SQL_PORT: '5432'
API_HOST: '0.0.0.0'
OTEL_EXPORTER_OTLP_ENDPOINT: 'http://observability:4317'
OTEL_SERVICE_NAME: 'bootzooka'
OTEL_METRIC_EXPORT_INTERVAL: '500' # The default is 60s, in development it's useful to see the metrics faster
OTEL_RESOURCE_ATTRIBUTES: 'service.instance.id=local,service.version=latest'
bootzooka-db:
image: 'postgres'
ports:
- '25432:5432'
environment:
POSTGRES_USER: 'postgres'
POSTGRES_PASSWORD: 'b00t200k4'
POSTGRES_DB: 'bootzooka'
# OpenTelemetry Collector, Prometheus, Loki, Tempo, Grafana
observability:
image: 'grafana/otel-lgtm'
ports:
- '3000:3000' # Grafana's UI