8000 Invalid port format error on `"${BIND_IP:-127.0.0.1}:8983:8983"` · Issue #51 · compose-viz/compose-viz · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Invalid port format error on "${BIND_IP:-127.0.0.1}:8983:8983" #51
Closed
@mprins

Description

@mprins

I have the following in my compose file:

...
  solr:
    container_name: solr
    depends_on:
      - postgis
      - oracle
      - sqlserver
    image: solr:latest
    environment:
      SOLR_HEAP: 1g
    volumes:
      - solr-data:/var/solr
    ports:
      - "${BIND_IP:-127.0.0.1}:8983:8983"
    networks:
      - tailormap-data
      - tailormap-viewer
    labels:
      traefik.enable: false
    restart: unless-stopped
    command:
      - solr-precreate
      - tailormap

Running compose-viz on that causes it to fail with the message Invalid port format, aborting:

Unable to find image 'wst24365888/compose-viz:latest' locally
latest: Pulling from wst24365888/compose-viz
91d30c5bc195: Pulling fs layer
d1af37e58b8d: Pulling fs layer
098ce635c356: Pulling fs layer
695c3c8b2dd0: Pulling fs layer
695c3c8b2dd0: Waiting
91d30c5bc195: Verifying Checksum
91d30c5bc195: Download complete
91d30c5bc195: Pull complete
695c3c8b2dd0: Verifying Checksum
695c3c8b2dd0: Download complete
d1af37e58b8d: Verifying Checksum
d1af37e58b8d: Download complete
098ce635c356: Verifying Checksum
098ce635c356: Download complete
d1af37e58b8d: Pull complete
098ce635c356: Pull complete
695c3c8b2dd0: Pull complete
Digest: sha256:a7a66c6d6df1e7fc735e73fd1e7560544[12](https://github.com/B3Partners/containers/actions/runs/7445865110/job/20254982708?pr=459#step:4:13)203d609e9084a654786a0c95cda6e
Status: Downloaded newer image for wst24365888/compose-viz:latest
Traceback (most recent call last):
  File "compose_viz/__main__.py", line 4, in <module>
  File "compose_viz/cli.py", line 66, in start_cli
  File "typer/main.py", line 214, in __call__
  File "click/core.py", line 1[13](https://github.com/B3Partners/containers/actions/runs/7445865110/job/20254982708?pr=459#step:4:14)0, in __call__
  File "click/core.py", line 1055, in main
  File "click/core.py", line 1635, in invoke
  File "click/core.py", line [14](https://github.com/B3Partners/containers/actions/runs/7445865110/job/20254982708?pr=459#step:4:15)04, in invoke
  File "click/core.py", line 760, in invoke
  File "typer/main.py", line 532, in wrapper
  File "compose_viz/cli.py", line 55, in compose_viz
  File "compose_viz/parser.py", line 1[16](https://github.com/B3Partners/containers/actions/runs/7445865110/job/20254982708?pr=459#step:4:17), in parse
AssertionError: Invalid port format, aborting.
[8] Failed to execute script '__main__' due to unhandled exception!
Error: Process completed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0