bcgov / SchemaSpy

Apache License 2.0
8 stars 11 forks source link

Cannot access SchemaSpy web app unless SCHEMASPY_PORT set #15

Open stephenhillier opened 3 years ago

stephenhillier commented 3 years ago

Hello, thanks for making this available to other teams. We previously used this template on OCP3 without setting SCHEMASPY_PORT, and it listened on port 8080 (the default).

However, now when I run it without explicitly setting SCHEMASPY_PORT, this was value in the pod (the part in brackets was an actual IP address replaced by me - also note I would have assumed the value to be just the port, i.e. an integer like 8080 or 4000):

echo $SCHEMASPY_PORT
tcp://<an ip address>:4000

Setting SCHEMASPY_PORT to "8080" solved the issue, but it might help other users to make sure it defaults to 8080 (or update the docs if this is not the default anymore).