-
-
Notifications
You must be signed in to change notification settings - Fork 89
/
docker-compose.yaml
58 lines (55 loc) · 1.42 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
53
54
55
56
57
58
# This Docker Compose file is aimed at developers. See the bundled env.example
# file for setup instructions.
services:
tenzir-node:
image: ${TENZIR_IMAGE:-tenzir/tenzir:main}
build:
target: tenzir
environment:
- TENZIR_PLUGINS__PLATFORM__CONTROL_ENDPOINT=${TENZIR_PLUGINS__PLATFORM__CONTROL_ENDPOINT:-}
- TENZIR_PLUGINS__PLATFORM__API_KEY=${TENZIR_PLUGINS__PLATFORM__API_KEY:-}
- TENZIR_PLUGINS__PLATFORM__TENANT_ID=${TENZIR_PLUGINS__PLATFORM__TENANT_ID:-}
- TENZIR_ENDPOINT=tenzir-node:5158
ports:
- 5158:5158
entrypoint:
- tenzir-node
volumes:
- tenzir-lib:/var/lib/tenzir/
- tenzir-log:/var/log/tenzir/
healthcheck:
test: tenzir --connection-timeout=30s --connection-retry-delay=1s 'api /ping'
interval: 30s
retries: 1
tenzir-api:
image: ${TENZIR_IMAGE:-tenzir/tenzir:main}
build:
target: tenzir
depends_on:
- tenzir-node
environment:
- TENZIR_ENDPOINT=tenzir-node:5158
ports:
- 5160:5160
entrypoint:
- tenzir-ctl
command:
- web
- server
- --mode=dev
- --bind=0.0.0.0
tenzir:
image: ${TENZIR_IMAGE:-tenzir/tenzir:main}
build:
target: tenzir
profiles:
- donotstart
depends_on:
- tenzir-node
environment:
- TENZIR_ENDPOINT=tenzir-node:5158
volumes:
tenzir-lib:
driver: local
tenzir-log:
driver: local