Skip to content

Static configuration for root directory #2229

Closed
@MTecknology

Description

@MTecknology

At the moment, it seems like gitea gets a little bit confused when trying to find configuration data. Sometimes it'll look for a file at ${binpath}/${foo} (/usr/bin/gitea/custom/...) and other times it'll try ${pwd}/${foo}.

It would be ideal if we could have a build-time (and run-time) argument to configure a base path. This variable would make it very easy to handle a wide variety of deployments and would provide a fair amount of consistency for locating files.

Something like this would probably make #2228 a moot (but still valid) issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions