Download


Installing Mayan EDMS is very easy thanks to the provided Docker image.

Docker is a container technology and with it, you can start using Mayan EDMS regardless of the operating system you are running.

Besides providing isolation from the operating system, the Docker image also allows installing multiple copies of Mayan EDMS on the same machine for a complete testing, staging, and production setup.

  1. Install Docker:

    wget -qO- https://get.docker.com/ | sh
    

    If you don’t want to run an automated script, follow the instructions outlined in their documentation: https://docs.docker.com/install/

  2. Install Docker Compose:

    Follow the instructions as: https://docs.docker.com/compose/install/

    For GNU/Linux based operating systems, this is usually:

    sudo curl -L "https://github.com/docker/compose/releases/download/1.29.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
    

    and:

    sudo chmod +x /usr/local/bin/docker-compose
    
  3. Download the Mayan EDMS Docker Compose file and associated files:

    curl https://gitlab.com/mayan-edms/mayan-edms/-/raw/master/docker/docker-compose.yml -O
    curl https://gitlab.com/mayan-edms/mayan-edms/-/raw/master/docker/env_file -O
    curl https://gitlab.com/mayan-edms/mayan-edms/-/raw/master/docker/.env -O
    
  4. Customize the installation files:

    Update the docker-compose.yml file directly, the .env, or the env_file as desired.

  5. Launch the Docker Compose file. This will launch an entire stack of three (3) containers: Mayan EDMS (app), PostgreSQL (database), and Redis (background tasks):

    docker-compose --file docker-compose.yml --project-name mayan up --detach
    

This is just the simplest and fastest way to install Mayan EDMS. For complete instructions and more methods check the documentation chapter on installation methods.