Downloads

Docker Compose

Use the following Docker Compose commands to get up and running quickly with FusionAuth, PostgreSQL, and Opensearch:

  1. Install the prerequisites:

    • On macOS and Windows, one of the following container management tools:
      • Docker desktop
      • OrbStack (to use Orbstack for docker compose commands after install, run docker context use orbstack)
      • Podman (in the commands below, replace docker with podman)
    • On Linux, Docker 23 or later
  2. Download the docker-compose.yml and .env files:

    $ curl -fsSL https://raw.githubusercontent.com/FusionAuth/fusionauth-containers/main/docker/fusionauth/docker-compose.yml > docker-compose.yml && \
    curl -fsSL https://raw.githubusercontent.com/FusionAuth/fusionauth-containers/main/docker/fusionauth/.env > .env
    
    $ curl -fsSL https://raw.githubusercontent.com/FusionAuth/fusionauth-containers/main/docker/fusionauth/docker-compose.yml > docker-compose.yml && \
    curl -fsSL https://raw.githubusercontent.com/FusionAuth/fusionauth-containers/main/docker/fusionauth/.env > .env
    
    Invoke-WebRequest -UseBasicParsing https://raw.githubusercontent.com/FusionAuth/fusionauth-containers/main/docker/fusionauth/docker-compose.yml -OutFile docker-compose.yml
    Invoke-WebRequest -UseBasicParsing https://raw.githubusercontent.com/FusionAuth/fusionauth-containers/main/docker/fusionauth/.env -OutFile .env
    
  3. Start the FusionAuth container:

    $ docker compose up -d
    
  4. Visit http://localhost:9011/admin to access the Admin UI.

  5. Congratulations, you have a working instance of FusionAuth! To set up login for an application, see our First Time Setup guide.