-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
52 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
version: "3"
services:
integration-deps:
image: busybox
depends_on:
- server-pg
- examples-pg
- otel-agent
server-pg:
image: postgres:16.4
ports:
- "5432:5432"
environment:
- POSTGRES_USER=user
- POSTGRES_PASSWORD=password
- POSTGRES_DB=pg
healthcheck:
test: [ "CMD-SHELL", "pg_isready" ]
interval: 5s
timeout: 5s
retries: 5
examples-pg:
image: postgres:16.4
ports:
- "5433:5432"
environment:
- POSTGRES_USER=user
- POSTGRES_PASSWORD=password
- POSTGRES_DB=pg
healthcheck:
test: [ "CMD-SHELL", "pg_isready" ]
interval: 5s
timeout: 5s
retries: 5
otel-agent:
ports:
- "4317:4317" # OpenTelemetry receiver
image: otel/opentelemetry-collector-contrib:0.57.2
command: [ "--config=/etc/otel-agent-config.yaml" ]
environment:
- HONEYCOMB_DATASET=${HONEYCOMB_DATASET}
- HONEYCOMB_API_KEY=${HONEYCOMB_API_KEY}
volumes:
- ./dev/otel-agent-config.yaml:/etc/otel-agent-config.yaml
cala-server:
image: us.gcr.io/galoy-org/cala:latest
depends_on:
- server-pg
ports:
- "2252:2252"
environment:
- PG_CON=postgres://user:password@server-pg:5432/pg