Skip to content

Commit 504822e

Browse files
Do not expose the CAF port in Docker Compose setup (#10)
See tenzir/tenzir#5004
1 parent 2aada7e commit 504822e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@ on the command-line, or set the following environment variables connect your
1818
node to [app.tenzir.com](app):
1919

2020
```bash
21-
export TENZIR_PLUGINS__PLATFORM__API_KEY='<api-key>'
22-
export TENZIR_PLUGINS__PLATFORM__TENANT_ID='<tenant-id>'
21+
export TENZIR_TOKEN='<token>'
22+
23+
# This one is only necessary if you're using a self-hosted version of the
24+
# Tenzir Platform.
25+
export TENZIR_PLATFORM_CONTROL_ENDPOINT='<url>'
2326
```
2427

2528
## Run tests

docker-compose.yaml

+2-5
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,8 @@ services:
66
- TENZIR_VERSION=main
77
environment:
88
- TENZIR_ENDPOINT=tenzir-node:5158
9-
- TENZIR_PLUGINS__PLATFORM__API_KEY=${TENZIR_PLUGINS__PLATFORM__API_KEY:-}
10-
- TENZIR_PLUGINS__PLATFORM__CONTROL_ENDPOINT=${TENZIR_PLUGINS__PLATFORM__CONTROL_ENDPOINT:-wss://ws.tenzir.app/production}
11-
- TENZIR_PLUGINS__PLATFORM__TENANT_ID=${TENZIR_PLUGINS__PLATFORM__TENANT_ID:-}
12-
ports:
13-
- 5158:5158
9+
- TENZIR_TOKEN=${TENZIR_TOKEN:-}
10+
- TENZIR_PLATFORM_CONTROL_ENDPOINT=${TENZIR_PLATFORM_CONTROL_ENDPOINT:-}
1411
entrypoint:
1512
- tenzir-node
1613
volumes:

0 commit comments

Comments
 (0)