Skip to content

pprof unreachable for gitea in docker #20453

Closed
@philipphutterer

Description

@philipphutterer

Description

For Gitea in Docker the ENABLE_PPROF = true flag in app.ini does not work as expected since the pprof service is bound to localhost instead of 0.0.0.0 (here) and can thus not be mapped in the container port mapping to be accessed from outside the container.

I suggest binding pprof to 0.0.0.0 instead.

Gitea Version

running 1.16.5 (but still in latest)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions