Preload configuration
-
I would like to define an initial configuration for using at the deployment time.
For instance, would be nice to have some pre-configured app/users/passwords/permissions (can be loaded via script)just in case I need to throw all containers away and start clean but avoid to reconfigure the authentication when the focus would be developing an webapp.
It can be something only enabled in development mode.
Is there a way to do it?Pulled over from https://github.com/FusionAuth/fusionauth-containers/issues/67
-
I think you are looking for kickstart: https://fusionauth.io/docs/v1/tech/installation-guide/kickstart
Here's how to run configure Kickstart to run when you are using docker: https://fusionauth.io/docs/v1/tech/installation-guide/docker/#kickstart
I'm not sure how you are starting your containers, but I imagine you could create and make a kickstart file available in other deployment environments also.