-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
72 lines (72 loc) · 1.89 KB
/
docker-compose.yml
File metadata and controls
72 lines (72 loc) · 1.89 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
services:
pkgserver:
image: practicalgo/pkgserver
environment:
- LOG_LEVEL=0
- JAEGER_ADDR=http://jaeger:14268
- STATSD_ADDR=statsd:9125
- AWS_ACCESS_KEY_ID=admin
- AWS_SECRET_ACCESS_KEY=admin123
- BUCKET_NAME=test-bucket
- S3_ADDR=minio:9000
- DB_ADDR=mysql:3306
- DB_NAME=package_server
- DB_USER=packages_rw
- DB_PASSWORD=password
- USERS_SVC_ADDR=users-svc:50051
users-svc:
image: practicalgo/users-svc
environment:
- LOG_LEVEL=0
- JAEGER_ADDR=http://jaeger:14268
- STATSD_ADDR=statsd:9125
mysql:
image: mysql:8.0.26
environment:
- MYSQL_ROOT_PASSWORD=rootpassword
- MYSQL_DATABASE=package_server
- MYSQL_USER=packages_rw
- MYSQL_PASSWORD=password
command: '--default-authentication-plugin=mysql_native_password'
volumes:
- ./http-server/mysql-init:/docker-entrypoint-initdb.d
minio:
image: minio/minio:RELEASE.2021-07-08T01-15-01Z
environment:
- MINIO_ROOT_USER=admin
- MINIO_ROOT_PASSWORD=admin123
ports:
- 9000:9000
- 9001:9001
command: 'server "/data" --console-address ":9001"'
jaeger:
image: jaegertracing/all-in-one:latest
environment:
- COLLECTOR_ZIPKIN_HOST_PORT=:9411
ports:
- 5775:5775/udp
- 6831:6831/udp
- 6832:6832/udp
- 5778:5778
- 16686:16686
- 14268:14268
- 14250:14250
- 9411:9411
stastd:
image: prom/statsd-exporter:master
container_name: statsd
command: '--statsd.event-flush-threshold=1'
ports:
- 9125:9125/udp
- 9102:9102
prometheus:
image: prom/prometheus
container_name: prometheus
volumes:
- "./infra-config/prometheus/:/etc/prometheus/"
command:
- '--config.file=/etc/prometheus/prometheus.yml'
expose:
- 9090
ports:
- 9090:9090