forked from tenzir/tenzir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
53 lines (50 loc) · 1.25 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
# This Docker Compose file is aimed at developers. See the bundled env.example
# file for setup instructions.
services:
tenzir-node:
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
- TENZIR_ALLOW_UNSAFE_PIPELINES=true
ports:
- 5158:5158
entrypoint:
- tenzir-node
volumes:
- tenzir-node:/var/lib/tenzir/
- tenzir-node:/var/log/tenzir/
tenzir-api:
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/tenzir:main
build:
target: tenzir
profiles:
- donotstart
depends_on:
- tenzir-node
environment:
- TENZIR_ENDPOINT=tenzir-node:5158
volumes:
tenzir-node:
driver: local