GitHub user andrewzah edited a comment on the discussion: Env vars for docker 
set up?

@dominikriemer `SP_CORE_HOST` doesn't seem to be working. It tries to register 
to itself (`172.20.0.4`) instead of `core` which is at `172.20.0.3`.
```
ext-1  | 2024-05-22T07:52:07.942Z  WARN   --- [           main] 
o.a.s.s.extensions.CoreRequestSubmitter  : Could not register service at core 
at url http://172.20.0.4:8030 Trying again in 3 seconds
```

```yaml
services:
  ui:
    image: apachestreampipes/ui:0.95.0-SNAPSHOT
    environment:
      SP_HTTP_SERVER_ADAPTER_ENDPOINT: 'ext:8090'
    ports:
      - "80:8088"

  core:
    image: docker.io/apachestreampipes/backend:0.93.0
    ports:
      - "8030"
      - "8090"
    environment:
      SP_INITIAL_ADMIN_EMAIL: '[email protected]'
      SP_INITIAL_ADMIN_PASSWORD: 'admin'
      SP_COUCHDB_HOST: couchdb
      SP_DEBUG: true

  ext:
    image: docker.io/apachestreampipes/extensions-all-jvm:0.93.0
    ports:
      - "8030"
      - "8090"
    environment:
      SP_DEBUG: true
      SP_COUCHDB_HOST: couchdb
      SP_CORE_HOST: core
```

GitHub link: 
https://github.com/apache/streampipes/discussions/2488#discussioncomment-9518027

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

Reply via email to