Skip to content

Keep database password from preseeded configuration file #4217

Closed
@tarelda

Description

@tarelda
  • Gitea version (or commit ref): fa3ceb6
  • Git version: not relevant to the issue
  • Operating system: alpine:latest
  • Database (use [x]):
    • PostgreSQL
    • MySQL (MariaDB)
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist: Not relevant

Description

I created fat gitea docker container, which contains also all other required services. It is just the way that suits my deployment. Issue I bumped into is, that database password is automagically generated in entrypoint and correctly seeded into configuration file, but when using installer it just omits it.
My expected behaviour is that when I preseed password it has to be kept instead of zeroing it.
Can this be fixed or at least available with feature switch like --enable-preseeded-config ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/enhancementAn improvement of existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions