Installation
Install Docker:
wget -qO- https://get.docker.com/ | shIf you don’t want to run an automated script, follow the instructions outlined in their documentation: https://docs.docker.com/install/
Download the Mayan EDMS Docker Compose files:
The files are located at: https://gitlab.com/mayan-edms/mayan-edms/-/tree/master/docker/
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 -O
Launch the Mayan EDMS Docker Compose containers:
docker compose up --detachNote
There is no need to restart the containers after a shutdown, the containers in the Docker Compose file are set to start automatically.
Additional commands
Invoking from and external folder:
Note
If you are invoking the
docker composecommand outside the directory where the filedocker-compose.ymlresides, you need to add the--file docker-compose.ymloption.Multiple deployments:
Multiple deployments can be made from the same
docker-compose.ymlfile by using the--project-name <project_name>option.To view the logs of the containers:
docker compose logsTo list the containers:
docker compose psTo terminate the containers:
Note
Once terminated, the containers are removed and only the data volumes remain.
docker compose down