-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (47 loc) · 1.11 KB
/
docker-compose.yml
File metadata and controls
49 lines (47 loc) · 1.11 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
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
args:
- UID=1000
- GID=1000
volumes:
- ./backend/:/home/node/app
ports:
- "3000:3000"
env_file:
- .env
restart: on-failure:3
depends_on:
- kurrentdb
kurrentdb:
image: kurrentplatform/kurrentdb:25.0.1-x64-8.0-bookworm-slim
environment:
- KURRENTDB_CLUSTER_SIZE=1
- KURRENTDB_RUN_PROJECTIONS=All
- KURRENTDB_START_STANDARD_PROJECTIONS=true
- KURRENTDB_NODE_PORT=2113
- KURRENTDB_INSECURE=true
- KURRENTDB_ENABLE_ATOM_PUB_OVER_HTTP=true
ports:
- "2113:2113"
volumes:
- type: volume
source: kurrentdb-volume-data
target: /var/lib/kurrentdb
- type: volume
source: kurrentdb-volume-logs
target: /var/log/kurrentdb
healthcheck:
test:
[
"CMD-SHELL",
"curl --fail --insecure https://node1.kurrentdb:2113/health/live || exit 1",
]
interval: 5s
timeout: 5s
retries: 24
volumes:
kurrentdb-volume-data:
kurrentdb-volume-logs: