Skip to content

Commit

Permalink
Use the docker-compose defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
arthur-flam committed Jun 5, 2020
1 parent df0a151 commit c26b731
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qaboard/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@
qaboard_url = f"{qaboard_protocol}://{qaboard_host}"
else:
click.secho("WARNING: We don't know where to look for your QA-Board server.", fg='yellow', bold=True, err=True)
click.secho(" We default to the default configuration (http://localhost:5151) if you `docker-compose up` QA-Board.", fg='yellow', err=True)
click.secho(" Please provide it as an environment variable (via QABOARD_HOST, e.g. 'qaboard-srv', 'qaboard-srv:443').", fg='yellow', err=True)
click.secho(" If needed you can define QABOARD_PROTOCOL (default: https). You can also provide both QABOARD_HOSTNAME and QABOARD_PORT.", fg='yellow', err=True)
click.secho(" > If you don't have a QA-Board server, read the docs to learn how to start one!", fg='yellow', err=True)
qaboard_url = "http://localhost:5002"
qaboard_url = "http://localhost:5151"
api_prefix = f"{qaboard_url}/api/v1"


Expand Down

0 comments on commit c26b731

Please sign in to comment.