-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
43 lines (39 loc) · 904 Bytes
/
docker-compose.yaml
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
# Use postgres/example user/password credentials
version: '3.1'
services:
jaeger:
image: jaegertracing/all-in-one
restart: unless-stopped
ports:
- 16687:16686
- 4317:4317
db:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: hzpostgres
POSTGRES_DB: hzpp
ports:
- 5432:5432
volumes:
- ./postgres:/var/lib/postgresql/data
adminer:
image: adminer
restart: always
ports:
- 8081:8080
hzpp_delay_stats:
image: kronicaler/hzpp_delay_stats
container_name: hzpp_delay_stats
environment:
- OTLP_ENDPOINT=http://jaeger:4317
- DATABASE_URL=postgresql://postgres:hzpostgres@db/hzpp
- RUST_LOG=error,hzpp_delay_stats=info
build:
context: ./
dockerfile: dockerfile
restart: unless-stopped
volumes:
- ./logs:/app/logs/
ports:
- 3300:3300