Skip to content

Docker install

Robert Wikman edited this page Sep 14, 2018 · 6 revisions

This guide assumes you're running a non-obsolete version of Docker.

If you need to install or upgrade, use one of the guides at docker.com.

Install

The Redap home directory ~/.redap—containing database, SSL certs, logs, helper scripts and settings—is automatically installed when creating the container.

Click here for more info on this.

 

1. Download the compose file

$ wget https://raw.githubusercontent.com/rbw/redap/master/examples/docker-compose.yml

2. Modify as needed, then:

$ docker-compose up -d

 

3. Update settings

Application settings can be found in ~/.redap/settings

There are help pages describing each type in detail:

4. Restart the container

$ ~/.redap/scripts/manage.sh restart

5. Add an API key

$ cd ~/.redap/scripts
$ ./keys add "my first key"

 

Point a web browser to http://127.0.0.1:5000/api-docs and click authorize to use the API key you just generated.

Clone this wiki locally