Skip to content

Access camera-api from host machine & challenge network_mode #315

@fe51

Description

@fe51

Pitch

TODO after #312

From the host machine (like when doing local dev, and running docker compose on personnal laptop), it is not possible to reach the swagger to read the api docs.

What is done currently

  • network_mode:host is used, but not sure if it is useful here (need to work on raspberry pi and any server linux, or mac) -> To be challenged

What should be done

  • Must be investigated but adding port forwarding in docker compose of the camera_api service might solved the issue
ports:
    - "8081":"8081"

At last, it is needed that the camera_api services is accessible from outside on the port 8081

Happy to discuss it !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions