In order to use this compose file (docker-compose.yml) you must have:
- docker https://docs.docker.com/engine/installation/
- docker-compose https://docs.docker.com/compose/install/
- docker-compose-letsencrypt-nginx-proxy-companion https://github.com/evertramos/docker-compose-letsencrypt-nginx-proxy-companion
- Close this repository
$ git clone https://github.com/bowen31337/jenkins-gitlab-docker-letsencrypt.git
- Make a copy of the
.env.example
and rename it to.env
:
cp .env.example .env
Update this file with your preferences.
- Start the container.
During the build time, the environment variables are injected into the image.
$ docker-compose up -d