Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.
This repository was archived by the owner on May 7, 2024. It is now read-only.

Feature to change Konga default users #168

@rmetcalf9

Description

@rmetcalf9

I am running Konga inside a docker swarm. I would like to keep it lightweight and stateless so I am creating a configuration where Konga will not have a database. This works well for development as a local database is created.
If there are no users in the local database Konga will populate the database with two users. These are hardcoded as 'demo' and 'admin', with standard passwords.

I would like a way to change this. It would be great if Konga could load these default users from a default user configuration file. It would also be good if the location of this file could be specified via an environment variable. This way I could create a docker secret which would contain this configuration and set the environment variable to point to it.

If no environment variable is set it could point to a standard file in the config directory and there would be no change to the docker images behavior.

I think I will have a go at forking Konga and working out how to implement this.

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