forked from pace/bricks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
58 lines (53 loc) · 1.29 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
version: '3'
services:
postgres:
image: postgres:9.5.12
volumes:
- ./tmp/postgres:/var/lib/postgresql/data
ports:
- "5432:5432"
redis:
image: redis:latest
volumes:
- ./tmp/redis:/data
ports:
- "6379:6379"
jaeger:
image: jaegertracing/all-in-one:latest
ports:
# HTTP UI
- "16686:16686"
# Traces UDP
- "6831:6831/udp"
environment:
- COLLECTOR_ZIPKIN_HTTP_PORT=9411
prometheus:
image: quay.io/prometheus/prometheus:latest
ports:
- 9090:9090
volumes:
- "./prometheus.yml:/etc/prometheus/prometheus.yml"
testserver:
image: "golang:latest"
volumes:
- .:/srv
working_dir: /srv
ports:
- "3000:3000"
environment:
- JAEGER_AGENT_HOST=jaeger
- JAEGER_SAMPLER_TYPE=const
- JAEGER_SAMPLER_PARAM=1
- JAEGER_SERVICE_NAME=testserver
- SENTRY_DSN="https://71e5037808ff4acf9e18cd0ab5ee472a:[email protected]/164"
- SENTRY_ENVIRONMENT=development
- SENTRY_RELEASE=`git rev-parse --short HEAD`
- PACE_LIVETEST_INTERVAL=10s
- LOG_FORMAT=console
command: go run -mod=vendor ./tools/testserver
depends_on:
- postgres
- redis
- jaeger
- prometheus
restart: always