A readthedocs.org docker image for easy deployment on-prem
506
This repo should contain most of what you need in order to get a local ReadTheDocs instance up and running.
key folder, and inside place a
private key (id_rsa, NOT id_rsa.pub) that your Docker instance will use
to access your private repositories. You may want to set up a new github
account, or at, at the minimum, create a new private key for this.
Alternatively, you can also bind-mount in your key to /root/.ssh/id_rsa
and pull the image docker pull inanimate/rtd instead of bulding yourself.RTD_PRODUCTION_DOMAIN environment variable. It should match the domain that
you're hosting RTD on. e.g. if you're hosting your docs at
http://docs.my-app.net, then you should set it to docs.my-app.net. It is
recommended to leave TEST_DATA=yes on first run as it will set things up
for you, and populate your install with some test projects you can use to
verify the validity of the installation.docker-compose up -d.
up reads the docker-compose file and will build the necessary images.
-d starts the instance in detached mode (so you don't need to leave the tty
open).And that's it! Docker will automatically restart the service should it crash or if the machine goes reboots.
Content type
Image
Digest
Size
369.6 MB
Last updated
over 10 years ago
docker pull inanimate/rtd