GitHub user andrewzah closed a discussion: Env vars for docker set up?

The [docs](https://streampipes.apache.org/docs/try-installation/) link to a 
[docker-compose.yml](https://github.com/apache/streampipes/blob/dev/installer/compose/docker-compose.yml),
 but things seem to expect hardcoded dns names, such as `backend`. The 
[Environment Variables 
page](https://streampipes.apache.org/docs/deploy-environment-variables/) 
doesn't seem to mention them. How can I connect these services without 
hardcoded DNS?

```yaml
---

services:
  foo:
    image: docker.io/apachestreampipes/backend:0.93.0
    environment:
      SP_HTTP_SERVER_ADAPTER_ENDPOINT: bar:8090
    ports:
      - "8030"
      - "8090"

  bar:
    image: docker.io/apachestreampipes/extensions-all-jvm:0.93.0
    environment:
      SP_HTTP_SERVER_ADAPTER_ENDPOINT: bar:8090
    ports:
      - "8030"
      - "8090"

  ui:
    image: docker.io/apachestreampipes/ui:0.93.0
    ports:
      - "8088"

```

GitHub link: https://github.com/apache/streampipes/discussions/2488

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to