Skip to content

Docker instance's environment variables (GITEA__xxx) are not respected in 1.20-rc1 #25481

Closed
@wxiaoguang

Description

@wxiaoguang

Regression of #25330 :

Run Gitea's docker image:

...s/setting/setting.go:180:loadRunModeFrom() [F] Gitea is not supposed to be run as root. Sorry. If you need to use privileged TCP ports please instead use setcap and the `cap_net_bind_service` permission

Gitea Version

1.20

How are you running Gitea?

Docker

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/distributionThis PR changes something about the packaging of Giteatype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions