Example of a docker compose config for containers with HTTPS.
This repository contains reference docker-compose file for a variety of nginx-proxy with acme-companion (Let's Encrypt) setup.
- Install Docker
- Install Docker Compose
- Create a docker network called
nginx-proxy
All the docker-compose file assume the existence of a docker network called
nginx-proxy
. Create it with the following command before starting the containers.
docker network create nginx-proxy
docker-compose up -d
docker-compose down
docker exec nginx-proxy-acme /app/cert_status
docker-compose logs -f