-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
70 lines (65 loc) · 1.68 KB
/
docker-compose.yml
File metadata and controls
70 lines (65 loc) · 1.68 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
name: service-control-geoadmin
services:
db:
image: postgres:16
environment:
- POSTGRES_USER=${DB_USER}
- POSTGRES_PASSWORD=${DB_PW}
- POSTGRES_DB=${DB_NAME}
volumes:
- source: ${PWD}/.volumes/postgresql
target: /var/lib/postgresql
type: bind
bind:
create_host_path: true
ports:
- "${DB_PORT}:5432"
cognito:
image: jagregory/cognito-local:latest
volumes:
- source: ${PWD}/.volumes/cognito
target: /app/.cognito
type: bind
bind:
create_host_path: true
ports:
- "${COGNITO_PORT}:9229"
# add an empty user pool json if not already existing, then run the service
entrypoint: >
/bin/sh -c "
[ ! -f /app/.cognito/db/${COGNITO_POOL_ID}.json ] &&
echo '{}' > /app/.cognito/db/${COGNITO_POOL_ID}.json
node /app/start.js;
"
bod:
image: postgis/postgis:16-3.5
environment:
- POSTGRES_USER=${BOD_USER}
- POSTGRES_PASSWORD=${BOD_PW}
- POSTGRES_DB=${BOD_NAME}
volumes:
- source: ${PWD}/.volumes/postgis
target: /var/lib/postgresql
type: bind
bind:
create_host_path: true
ports:
- "${BOD_PORT}:5432"
otel-collector:
image: otel/opentelemetry-collector-contrib:latest
command: --config otel-local-config.yaml
volumes:
- ./otel-local-config.yaml:/otel-local-config.yaml
ports:
- "4317:4317"
- "9464:9464"
zipkin:
image: openzipkin/zipkin:latest
ports:
- "9411:9411"
prometheus:
image: prom/prometheus:latest
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"