Download for Macbook?

Hey there ajaymedic,

I wanted to share a quick step-by-step guide on how to install OpenEMR on your Apple M1 Mac using Docker. Docker provides a convenient way to run applications in containers, ensuring a smooth and consistent setup.

Here are the steps:

Step 1: Install Docker for Apple M1

  • Head over to the official Docker website for macOS and download the Docker Desktop designed for Apple Silicon: Docker for Apple M1.
  • Follow the installation instructions to set up Docker Desktop on your Mac.

Step 2: Run Docker Desktop

  • Once Docker Desktop is installed, launch it from your Applications folder.

Step 3: Open Terminal

  • Open the Terminal application on your M1 Mac. You’ll use this to interact with Docker.

Step 4: Pull the OpenEMR Docker Image

  • Use the following command in the Terminal to pull the official OpenEMR Docker image from Docker Hub:
docker pull openemr/openemr

Step 5: Create a Docker Compose YAML file

  • Create a docker-compose.yml file using a text editor like nano or vim. Paste the following content into the file:
version: '3'
services:
  openemr:
    image: openemr/openemr
    ports:
      - "8080:80"
    environment:
      - MYSQL_HOST=db
      - MYSQL_ROOT_PASS=root_password
      - MYSQL_USER=openemr
      - MYSQL_PASS=openemr_password
    depends_on:
      - db
  db:
    image: mysql:8.1
    environment:
      - MYSQL_ROOT_PASSWORD=root_password
      - MYSQL_USER=openemr
      - MYSQL_PASSWORD=openemr_password
      - MYSQL_DATABASE=openemr

Save the docker-compose.yml file.

Step 6: Start the OpenEMR Container

  • In the Terminal, navigate to the directory containing the docker-compose.yml file.
  • Run this command to start the OpenEMR container:
docker-compose up -d

This will download and start the OpenEMR container in detached mode.

Step 7: Access OpenEMR

  • Open a web browser and go to http://localhost:8080. You’ll find the OpenEMR login page.

Step 8: Log in to OpenEMR

  • Use the default login credentials:
    • Username: admin
    • Password: pass

Step 9: Configure OpenEMR

  • Follow the setup and configuration process within OpenEMR to customize it according to your requirements. For detailed configuration information, consult the official OpenEMR documentation.

That’s it! You’ve successfully installed OpenEMR on your Apple M1 Mac using Docker. You can manage the container using Docker Compose commands as needed.

Feel free to ask if you have any questions or encounter any issues during the installation process.