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
? -
A good way to test the app is up and running is to run
docker logs 27e4c9edd311
where27e4c9edd311
is the docker container id, which is found by runningdocker ps|grep fusionauth
.If you are using docker-compose, you can also run
docker-compose logs -f fusionauth
.Look in the logs for any errors. On successful startup, you'll see this message (with perhaps a different version message):
--------------------------------------------------------------------------------------------------------- ------------------------------- Starting FusionAuth version [1.16.0-RC.1] ------------------------------- ---------------------------------------------------------------------------------------------------------