Skip to content
This repository was archived by the owner on Nov 30, 2022. It is now read-only.
This repository was archived by the owner on Nov 30, 2022. It is now read-only.

Default port is not configurable from env vars #1368

@sanders41

Description

@sanders41

Bug Description

Currently it is not possible to set the port through an environment variable. To fix update port: int to port: int = os.getenv("FIDESOPS__PORT", "8080")

Steps to Reproduce

  1. Do this...
  2. Then This...

Expected behavior

Port should be configurable with environment variables.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

  • Version:
  • OS:
  • Python Version:
  • Docker Version:

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions