FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Can you configure FA in Docker to automatically set up apps, OAuth, etc

    Scheduled Pinned Locked Moved
    Q&A
    2
    5
    496
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      vmurr
      last edited by

      I Have set up FA locally with docker. However, when you run compose you have to set up a user then configure apps and OAuth and so on. I was wondering if anyone knew if it were possible or how to not have to do this manually? Example, run compose and apps are already configured so you can test?

      1 Reply Last reply Reply Quote 0
      • danD
        dan
        last edited by

        Yup. You're looking for kickstart, a way to configure FusionAuth on load with users, api keys, and more. Anything you can do via the API you can do in a kickstart file.

        Here's the docs: https://fusionauth.io/docs/v1/tech/installation-guide/kickstart

        Let us know if you have questions.

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • V
          vmurr
          last edited by vmurr

          Thank you for the reply. Will kickstart bypass the maintenance mode of creating user and allow you to have a dashboard with your apps when you run docker compose and go to http://localhost:9011/? It doesn't appear to be the case and I just wanted to clarify as I'd like others to be able to pull from git and be up and running immediately. Thanks again.

          1 Reply Last reply Reply Quote 0
          • danD
            dan
            last edited by dan

            Ah, I'm sorry, I misunderstood what you were aiming for. Kickstart lets you set up fusionauth users, applications, roles--anything you can set up in the admin ui.

            For starting a fusionauth instance with an existing database server (it doesn't have to have the FusionAuth schema set up, though) and skipping maintenance mode, you want silent configuration: https://fusionauth.io/docs/v1/tech/reference/configuration#silent-configuration

            So you probably want a combination of both. Silent configuration to skip maintenance mode, and then Kickstart to set up some applications.

            Please let me know if that helps.

            --
            FusionAuth - Auth for devs, built by devs.
            https://fusionauth.io

            1 Reply Last reply Reply Quote 0
            • V
              vmurr
              last edited by

              Awesome thank you so much for the help!

              1 Reply Last reply Reply Quote 0
              • First post
                Last post