# Mautic Installation STUCK in Laragon (Local - Windows 10)

**URL:** https://forum.mautic.org/t/mautic-installation-stuck-in-laragon-local-windows-10/33466
**Category:** Product Support
**Created:** [September 12, 2024, 10:29pm UTC](https://forum.mautic.org/t/mautic-installation-stuck-in-laragon-local-windows-10/33466 "2024-09-12T22:29:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![avori](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/avori/32/8000_2.png) [@avori](https://forum.mautic.org/u/avori)
#### Post date: [September 12, 2024, 10:29pm UTC](https://forum.mautic.org/t/mautic-installation-stuck-in-laragon-local-windows-10/33466/1 "2024-09-12T22:29:56Z")

</div>

**Your software**  
My Mautic version is: 5.1  
My PHP version is: 8.2  
My Database type and version is: 8.0

**Your problem**  
My problem is:  
After a long time of screwing around with Laragon, I was finally able to get composer to install mautic. I went to the browser to finalize installation but its stuck on this screen and is not responding to any clicks, and wont move forward.

 ![2024-09-13_01-12-02](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/5/5adbfb66a3eefbe77f53080c4f0868984cc5ae8a.png)

These errors are showing in the log:  
There are no logs var\logs is empty

Steps I have tried to fix the problem:  
I have no idea what to even do.

---

<div class="post-metadata">

### Author: ![jaroslav.huss](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jaroslav.huss/32/12244_2.png) [@jaroslav.huss](https://forum.mautic.org/u/jaroslav.huss)
#### Post date: [September 13, 2024, 10:01am UTC](https://forum.mautic.org/t/mautic-installation-stuck-in-laragon-local-windows-10/33466/2 "2024-09-13T10:01:13Z")

</div>

Hi,

I strongly recommend installing docker desktop and install mautic via docker-compose.yml

**1. So create a folder**

Inside this folder create a file docker-compose.yml

```auto
// docker-compose.yml
version: '3'

volumes:
  mautic-mysql-data:
  mautic-config:
  mautic-logs:
  mautic-media-files:
  mautic-media-images:
  mautic-cron:

services:
  db:
    image: mysql:8.0
    environment:
      - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
      - MYSQL_DATABASE=${MYSQL_DATABASE}
      - MYSQL_USER=${MYSQL_USER}
      - MYSQL_PASSWORD=${MYSQL_PASSWORD}
    volumes: 
      - mautic-mysql-data:/var/lib/mysql
    ports:
      - 3306:3306
    healthcheck:
      test: mysqladmin --user=$$MYSQL_USER --password=$$MYSQL_PASSWORD ping
      start_period: 5s
      interval: 5s
      timeout: 5s
      retries: 100
    networks:
      - default

  mautic_web:
    image: mautic/mautic
    links:
      - db:mysql
    ports:
      - 8001:80
    volumes:
      - mautic-config:/var/www/html/config:z
      - mautic-logs:/var/www/html/var/logs:z
      - mautic-media-files:/var/www/html/docroot/media/files:z
      - mautic-media-images:/var/www/html/docroot/media/images:z
      - mautic-cron:/opt/mautic/cron:z
    environment:
      - DOCKER_MAUTIC_LOAD_TEST_DATA=${DOCKER_MAUTIC_LOAD_TEST_DATA}
      - DOCKER_MAUTIC_RUN_MIGRATIONS=${DOCKER_MAUTIC_RUN_MIGRATIONS}
    env_file:
      - .mautic_env
    healthcheck:
      test: curl http://localhost
      start_period: 5s
      interval: 5s
      timeout: 5s
      retries: 100
    depends_on:
      db:
        condition: service_healthy
    networks:
      - default

  mautic_cron:
    image: mautic/mautic
    links:
      - db:mysql
    volumes:
      - mautic-config:/var/www/html/config:z
      - mautic-logs:/var/www/html/var/logs:z
      - mautic-media-files:/var/www/html/docroot/media/files:z
      - mautic-media-images:/var/www/html/docroot/media/images:z
      - mautic-cron:/opt/mautic/cron:z
    environment:
      - DOCKER_MAUTIC_ROLE=mautic_cron
    env_file:
      - .mautic_env
    depends_on:
      mautic_web:
        condition: service_healthy
    networks:
      - default

  mautic_worker:
    image: mautic/mautic
    links:
      - db:mysql
    volumes:
      - mautic-config:/var/www/html/config:z
      - mautic-logs:/var/www/html/var/logs:z
      - mautic-media-files:/var/www/html/docroot/media/files:z
      - mautic-media-images:/var/www/html/docroot/media/images:z
      - mautic-cron:/opt/mautic/cron:z
    environment:
      - DOCKER_MAUTIC_ROLE=mautic_worker
    env_file:
      - .mautic_env
    depends_on:
      mautic_web:
        condition: service_healthy
    networks:
      - default

networks:
  default:
    name: ${COMPOSE_PROJECT_NAME}-docker

```

1. Also u need to create .env file in the same root folder:

```auto
//.env
COMPOSE_PROJECT_NAME=yourprojectname
COMPOSE_NETWORK=${COMPOSE_PROJECT_NAME}-docker
MYSQL_HOST=db.${COMPOSE_NETWORK}
MYSQL_PORT=3306
MYSQL_DATABASE=yourdatabasename
MYSQL_USER=databaseuser
MYSQL_PASSWORD=somestrongpassword1@
MYSQL_ROOT_PASSWORD=somestrongpassword2@
DOCKER_MAUTIC_RUN_MIGRATIONS=false
DOCKER_MAUTIC_LOAD_TEST_DATA=false

```

Now ur ready and all you need to do is open terminal, go to the root folder and hit

```auto
docker compose up -d

```

You can access mautic on [http://localhost:8001/](http://localhost:8001/)
