-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
52 lines (49 loc) · 1.28 KB
/
docker-compose.yaml
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
services:
tenzir-node:
build:
context: .
args:
- TENZIR_VERSION=main
environment:
- TENZIR_ENDPOINT=tenzir-node:5158
- TENZIR_PLUGINS__PLATFORM__API_KEY=${TENZIR_PLUGINS__PLATFORM__API_KEY:-}
- TENZIR_PLUGINS__PLATFORM__CONTROL_ENDPOINT=${TENZIR_PLUGINS__PLATFORM__CONTROL_ENDPOINT:-wss://ws.tenzir.app/production}
- TENZIR_PLUGINS__PLATFORM__TENANT_ID=${TENZIR_PLUGINS__PLATFORM__TENANT_ID:-}
ports:
- 5158:5158
entrypoint:
- tenzir-node
volumes:
- tenzir-node:/var/lib/tenzir/
- tenzir-node:/var/log/tenzir/
- tenzir-node:/var/cache/tenzir/
healthcheck:
test: tenzir --connection-timeout=30s --connection-retry-delay=1s 'api /ping'
interval: 30s
retries: 1
tenzir:
build:
context: .
args:
- TENZIR_VERSION=main
profiles:
- donotstart
depends_on:
- tenzir-node
environment:
- TENZIR_ENDPOINT=tenzir-node:5158
volumes:
- tenzir-node:/var/cache/tenzir/
tests:
build:
context: .
target: test
args:
- TENZIR_VERSION=main
profiles:
- donotstart
volumes:
- ./integration/data/reference/:/plugins/example/integration/data/reference/
volumes:
tenzir-node:
driver: local