Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

IRI with SSL for Docker

This folder contains the files necessary to set up an IRI Docker container with an SSL certificate, using nginx proxy-pass to direct remote requests to IRI.

Prerequisites

You'll need the following in order to get started:

  • Docker
  • Docker Compose (This might already be included with Docker, depending on your installation method)
  • A domain name with DNS records set up

Getting Started

  1. Clone this repository:
git clone https://github.com/iotaledger/iri
  1. Navigate to this directory:
cd iri/docker/ssl
  1. Run the setup script and follow the prompts:
./start.sh
  1. Build the images:
docker-compose build
  1. Start the containers:
docker-compose up

Testing

If you want to test the application before running in a production environment, ensure that you add the --staging flag to the certbot command on line 16 of docker-compose.yml. This will tell certbot to obtain a test certificate and allow you to exceed the normal rate limits. Note that the test certificate will be untrusted by most systems by default.

Acknowledgements