FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. Tags
    3. docker-compose
    Log in to post
    • All categories
    • B

      Insufficient memory error while running Fusion auth using docker compose

      General Discussion
      • fusionauth docker-compose • • bhardwajmunish88
      4
      1
      Votes
      4
      Posts
      1.7k
      Views

      danD

      @bhardwajmunish88 From the stackoverflow link:

      According to this github issue this is corrected by using docker 20.10.5.

      Can you try with a later version of Docker? I think this is due to the Java Docker image, and isn't an issue with FusionAuth.

    • D

      Unsolved FusionAuth with Fly.io

      Q&A
      • docker docker-compose documentation developers postgres • • duke
      2
      0
      Votes
      2
      Posts
      2.2k
      Views

      danD

      For future readers, @duke wrote up an entire article about this: https://medium.com/@osain/deploying-fusionauth-docker-on-fly-io-8fbeb0469556

    • P

      Unsolved How should I be using the kickstart.success webhook?

      Q&A
      • kickstart webhook startup ci cd docker-compose • • Pyroseza
      2
      0
      Votes
      2
      Posts
      2.2k
      Views

      danD

      @pyroseza

      So it sounds like you're trying to figure out a way to know when FusionAuth has completed startup.

      The webhook is one way to do that. As you said, you can set up a kickstart event webhook within a kickstart file.

      Another way is to poll for a known value, such as a non-default tenant that you know your setup has added. That may be a simpler solution for you.

      Either way, you'll have to write some code to kick off the testing once you receive a signal that FusionAuth is ready.

      I personally would have preferred if there was an API endpoint I could query is to whether or not the kickstart has completed successfully, but instead we were given a webhook and I'm not quite sure how I should be using it.

      You'll need to write a webhook receiver that will kick off your tests (or whatever the next step of your testing setup is). I'm not quite sure how do that in one github action, but it should be pretty easy to split up a github action into two actions, a setup one (where you set everything up, including FusionAuth) and a test action (which you kick off in response to the FusionAuth webhook firing).

      I think you'd want the workflow_call event: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_call

    • danD

      How can I pull the latest docker image

      Q&A
      • docker docker-compose update image • • dan
      4
      0
      Votes
      4
      Posts
      17.2k
      Views

      A

      @aswetnatex

      docker pull fusionauth/fusionauth-app:latest
    • danD

      How can I make sure FusionAuth is running when I start it via docker-compose?

      Q&A
      • docker docker-compose troubleshooting • • dan
      3
      0
      Votes
      3
      Posts
      4.1k
      Views

      C

      @dan said in How can I make sure FusionAuth is running when I start it via docker-compose?:

      It's not responding at the port 9011, like it should.
      Is there a way to test or ping the FusionAuth App to make sure its up and running other than using docker ps -a?

      Yes, there are several ways to test or ping the FusionAuth App to check if it's up and running without relying on the docker ps -a command. Here are a few alternative methods:

      Curl or wget: You can use the curl or wget command-line tools to send a request to the FusionAuth App's endpoint and check the response. For example, you can run curl http://localhost:9011 or wget http://localhost:9011 to send a GET request to the FusionAuth App running on port 9011. If you receive a valid response, it indicates that the app is up and running.

      Telnet: You can use the telnet command to establish a connection to the FusionAuth App's port and check if it's open and responsive. Run telnet localhost 9011 to attempt a connection to the FusionAuth App on port 9011. If the connection is successful, it means the app is running and accepting connections.

      Browser access: Simply open a web browser and enter the URL http://localhost:9011 to access the FusionAuth App. If the app is running correctly, you should be able to see the login or landing page.

      API client: If the FusionAuth App provides an API, you can use an API client like Postman or cURL to send a request to the API endpoints and verify if you receive the expected responses.

      These methods allow you to test the availability and responsiveness of the FusionAuth App without relying on the docker ps -a command or using Docker-specific tools.