Skip to content

Commit

Permalink
Do not expose the CAF port in Docker Compose setup (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominiklohmann authored Feb 19, 2025
1 parent 2aada7e commit 504822e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ on the command-line, or set the following environment variables connect your
node to [app.tenzir.com](app):

```bash
export TENZIR_PLUGINS__PLATFORM__API_KEY='<api-key>'
export TENZIR_PLUGINS__PLATFORM__TENANT_ID='<tenant-id>'
export TENZIR_TOKEN='<token>'

# This one is only necessary if you're using a self-hosted version of the
# Tenzir Platform.
export TENZIR_PLATFORM_CONTROL_ENDPOINT='<url>'
```

## Run tests
Expand Down
7 changes: 2 additions & 5 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@ services:
- 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
- TENZIR_TOKEN=${TENZIR_TOKEN:-}
- TENZIR_PLATFORM_CONTROL_ENDPOINT=${TENZIR_PLATFORM_CONTROL_ENDPOINT:-}
entrypoint:
- tenzir-node
volumes:
Expand Down

0 comments on commit 504822e

Please sign in to comment.