MyDrive has built in Docker support, there are two options when using Docker, users can either use the Docker image that has MongoDB built in, or use the Docker image that just has the MyDrive image (If you're using a service like Atlas).

Create the Docker environment variables by running the 'npm run setup' command as seen in the installation section (you may need to build the project first with ‘npm run build’). Or by manually creating the file (e.g. docker-variables.env on the root of the project, see the environment section for more infomation).

Docker with mongoDB image:

docker-compose build

Docker without mongoDB image:

docker-compose -f docker-compose-no-mongo.yml build

Start the Docker Image:

docker-compose up

(Optional): It is also recommended that you also create indexes for mongoDB, this increases performance.

npm run create-indexes-database

You now should be able to access myDrive, if you selected the webUI option you will first need to enter the encryption key.

Then just navigate to the URL you entered in setup through your web browser, you should see the login screen and be able to login.