Skip to content

Legacy ‐ Installation with Docker (old version ‐ before v2)

Matthieu Viry edited this page Jul 4, 2024 · 1 revision

Using the application with Docker

French version available on our blog

Easiest case : using the image hosted on Docker Hub

This image is the one we recommend if you want to have Magrit on your machine, for personal use. Be sure docker is installed and the docker service is running and you have a Linux / FreeBSD / MacOSX / Windows 10 / ... terminal open, then type the following :

docker run -d -p "9999:9999" --name magrit magrit/magrit

Once everything is downloaded, the application is running and you can access it on http://localhost:9999/.

You can then stop it with :

docker stop magrit

And restart it with :

docker start magrit

Using docker-compose to build Magrit, NGINX and Redis containers

See README.md in misc/Docker folder for information on how to build three services, Magrit, Redis and NGINX, (with or without support for HTTPS) to deploy Magrit on your server and expose it publicly.

You may have to tweak the configurations for your needs (if you already have your NGINX or Apache Server instance for example) but the Magrit and Redis part will stay the same so it should be easily reusable.