-
Notifications
You must be signed in to change notification settings - Fork 825
Feature to change Konga default users #168
Comments
…le specified by KONGA_SEED_USER_DATA_SOURCE_FILE
I have this set up and running in my docker swarm and it is working without an issue. |
Thanks a bunch for the contribution @rmetcalf9 . Closing the issue due to housekeeping. |
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.
The text was updated successfully, but these errors were encountered: