Skip to content

Commit

Permalink
More details about Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
dyakhnov committed Mar 11, 2021
1 parent 816a09e commit 207fbef
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion docs/admin/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,26 @@ This will start the Django web server at http://localhost:8000/.
Running in a Docker Container
-----------------------------

Installation steps from above can be summarised as a following Dockerfile:
Installation steps from above can be summarised as a following `Dockerfile`:

.. literalinclude:: ../../Dockerfile
:language: text

**This is a minimum configuration for MyTardis, which is not suitable for running
in production.**

To build and run Docker container locally you will need to run following commands::

docker build . --tag mytardis
docker run --name mytardis -p 8000:8000 mytardis

Alternatively you can use pre-built Docker image from DockerHub::

docker run --name mytardis -p 8000:8000 mytardis/mytardis:develop

If you are keep in MyTardis development, we recommended you to
visit https://github.com/mytardis/mytardis-dev for a full stack
development environment, which runs using Docker.

Extended configuration
----------------------
Expand Down

0 comments on commit 207fbef

Please sign in to comment.