Gitlab + Jenkins + Docker Compose running with auto generate/renew Let's Encrypt Certificate

PREREQUISITES

In order to use this compose file (docker-compose.yml) you must have:

HOW TO USE

  1. Close this repository
$ git clone https://github.com/bowen31337/jenkins-gitlab-docker-letsencrypt.git
  1. Make a copy of the .env.example and rename it to .env:
cp .env.example .env

Update this file with your preferences.

  1. Start the container.

During the build time, the environment variables are injected into the image.

$ docker-compose up -d