Skip to content
This repository was archived by the owner on Aug 26, 2022. It is now read-only.
/ docker-rtd Public archive
forked from InAnimaTe/docker-rtd

A readthedocs.org docker image for easy deployment on-prem

Notifications You must be signed in to change notification settings

plangrid/docker-rtd

This branch is 41 commits ahead of, 3 commits behind InAnimaTe/docker-rtd:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

96e56e4 · Apr 9, 2019

History

49 Commits
Aug 10, 2018
Apr 9, 2019
Aug 10, 2018
Jun 27, 2018
Apr 3, 2019
Aug 10, 2018
Jun 14, 2016
Jun 24, 2017
Feb 22, 2017
Apr 9, 2019
Apr 3, 2019
Apr 3, 2019
Dec 17, 2015

Repository files navigation

This repo should contain most of what you need in order to get a local ReadTheDocs instance up and running.

Getting up and Running

  • You'll need to install Docker and Docker Compose.
  • Clone this repository
  • Inside of the repository folder, create a 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.
  • Setup the local_settings.py file. You're welcome to copy the example file. There are a ton knobs that can you tune, so you may want to take a moment to familiarize yourself with them.
  • Edit the docker-compose file. The only value that requires changing is the 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.
  • From this directory, launch RTD using docker-compose: 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.

About

A readthedocs.org docker image for easy deployment on-prem

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%