-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
104 lines (104 loc) · 2.97 KB
/
docker-compose.yaml
File metadata and controls
104 lines (104 loc) · 2.97 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# SPDX-FileCopyrightText: 2025 Forkbomb BV
#
# SPDX-License-Identifier: AGPL-3.0-or-later
services:
elasticsearch:
container_name: temporal-elasticsearch
environment:
- cluster.routing.allocation.disk.threshold_enabled=true
- cluster.routing.allocation.disk.watermark.low=512mb
- cluster.routing.allocation.disk.watermark.high=256mb
- cluster.routing.allocation.disk.watermark.flood_stage=128mb
- discovery.type=single-node
- ES_JAVA_OPTS=-Xms256m -Xmx256m
- xpack.security.enabled=false
image: elasticsearch:${ELASTICSEARCH_VERSION}
expose:
- 9200
volumes:
- esdata:/usr/share/elasticsearch/data
postgresql:
container_name: temporal-postgresql
environment:
POSTGRES_PASSWORD: temporal
POSTGRES_USER: temporal
image: postgres:${POSTGRESQL_VERSION}
expose:
- 5432
volumes:
- /var/lib/postgresql/data
temporal:
depends_on:
- postgresql
- elasticsearch
environment:
- DB=postgres12
- DB_PORT=5432
- POSTGRES_USER=temporal
- POSTGRES_PWD=temporal
- POSTGRES_SEEDS=postgresql
- DYNAMIC_CONFIG_FILE_PATH=/etc/temporal/config/dynamicconfig/development-sql.yaml
- ENABLE_ES=true
- ES_SEEDS=elasticsearch
- ES_VERSION=v7
- TEMPORAL_ADDRESS=temporal:7233
- TEMPORAL_CLI_ADDRESS=temporal:7233
- LOG_LEVEL=debug
image: temporalio/auto-setup:${TEMPORAL_VERSION}
ports:
- 7233:7233
volumes:
- ./deployment/dynamicconfig:/etc/temporal/config/dynamicconfig
temporal_ui:
container_name: temporal-ui
depends_on:
- temporal
environment:
- TEMPORAL_ADDRESS=temporal:7233
- TEMPORAL_CORS_ORIGINS=http://localhost:3000
- TEMPORAL_UI_PORT=8280
image: temporalio/ui:${TEMPORAL_UI_VERSION}
ports:
- 8280:8280
temporal_setup:
depends_on:
- temporal
environment:
- TEMPORAL_ADDRESS=temporal:7233
image: temporalio/admin-tools:${TEMPORAL_ADMIN_TOOLS_VERSION}
entrypoint:
[
"/bin/bash",
"-lc",
"set -euo pipefail; /scripts/wait-for-it.sh -s -t 0 temporal:7233; /scripts/temporal-search-attributes.sh",
]
restart: "no"
volumes:
- ./scripts:/scripts:ro
credimi:
depends_on:
- temporal
build:
context: .
dockerfile: Dockerfile
args:
- PUBLIC_POCKETBASE_URL=${PUBLIC_POCKETBASE_URL:-https://demo.credimi.io}
environment:
- SERVICE_FQDN_CREDIMI
- SERVICE_FQDN_CREDIMI_8090
- ADDRESS_GRAFANA=http://grafana:8085
- ADDRESS_UI=http://localhost:5100
- ROOT_DIR=/app
- DATA_DB_PATH=/app/pb_data/data.db
- MAIL_SENDER=no-reply@credimi.io
- RUN_STEPCI_PATH=pkg/OpenID4VP/stepci/runStepCI.js
- SCHEMAS_PATH=schemas
- TEMPORAL_ADDRESS=temporal:7233
- PORT=5100
ports:
- 8090:8090
volumes:
- ./pb_data/:/app/pb_data
- /var/run/docker.sock:/var/run/docker.sock
volumes:
esdata: