Skip to content

Sidecar config #173

@HatmanStack

Description

@HatmanStack

I'm working on an architecture using sidecars and can't seem to get things talking. I have a ngnix server as the main container and uvicorn sidecar running. All the calls from my frontend are using an axios post call to http://localhost:8081 . I'm building the uvicorn container on 8080 then switching to 8081 in the sidecar config by checking the K_SERVICE env var. Doesn't seem like best practice but I was grasping. From the log messages it seems like the uvicorn server is still trying to bind to 8080? Can you guys point me to some more in depth docs that may cover what I'm looking for?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions