generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
53 lines (52 loc) · 1.23 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
services:
db:
image: postgres:15.8
command: postgres
user: postgres
# For local debugging
# -c logging_collector=on -c log_destination=stderr -c log_directory=/logs -c log_statement=all
# volumes:
# - ./logs:/logs
restart: always
environment:
POSTGRES_PASSWORD: secret
ports:
- 15432:5432
healthcheck:
test: ["CMD-SHELL", "pg_isready"]
interval: 1s
timeout: 60s
retries: 60
start_period: 80s
otel-lgtm:
profiles:
- infra
image: grafana/otel-lgtm
platform: linux/amd64
ports:
- 3000:3000 # Portal Endpoint
- 9090:9090 # Prometheus
- ${OTEL_GRPC_PORT:-4317}:4317 # OTLP GRPC Collector
- ${OTEL_HTTP_PORT:-4317}:4318 # OTLP HTTP Collector
environment:
- ENABLE_LOGS_ALL=true
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
localstack:
image: localstack/localstack
profiles:
- infra
ports:
- 4566:4566
environment:
SERVICES: secretsmanager
DEBUG: 1
registry:
image: registry:2
ports:
- "5001:5000"
volumes:
- ./.registry:/var/lib/registry
volumes:
grafana-storage: {}