-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathdocker-compose.yaml
62 lines (51 loc) · 1.31 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
version: "3.9"
services:
# Assuming direct control - Harbinger
collector:
image: "otel/opentelemetry-collector"
container_name: harbinger
environment:
- ATMO_TRACER_HONEYCOMB_API_KEY
- ATMO_TRACER_HONEYCOMB_API_ENDPOINT
- ATMO_TRACER_HONEYCOMB_DATASET
# 4317 / 4318 are otlp receiver default ports for grpc and http
# see https://github.com/open-telemetry/opentelemetry-collector/blob/main/receiver/otlpreceiver/README.md
ports:
- "8000:5000"
# otel grpc
- "4317:4317"
# otel http
- "4318:4318"
# zpages
- "55679:55679"
# pprof
- "1777:1777"
# health check
- "13133:13133"
# otlp receiver again?
- "55681:55681"
# prometheus
- "8888:8888"
volumes:
- ./otel-config.yaml:/etc/otel/config.yaml:ro
- ./traces:/traces:rw
linter:
container_name: "sat_linter"
image: "golangci/golangci-lint:v1.45.2-alpine"
volumes:
- .:/app
- vendor:/app/vendor/
working_dir: /app
command: golangci-lint run ./...
lintfixer:
container_name: "sat_lintfixer"
build:
context: .
dockerfile: ./ops/Dockerfile-gci
volumes:
- .:/app:rw
- vendor:/app/vendor/
working_dir: /app
command: ./ops/gci.sh
volumes:
vendor: