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.
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
- Clone this repository:
git clone https://github.com/iotaledger/iri
- Navigate to this directory:
cd iri/docker/ssl
- Run the setup script and follow the prompts:
./start.sh
- Build the images:
docker-compose build
- Start the containers:
docker-compose up
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.
- Docker Compose setup based on le-docker-compose by Automation Logic
nginxconfiguration based on auto-nginx-https by eukaryote31