Further reading
If you choose to use Jenkins to manage your Docker-based environments, you should look at these resources more closely:
- Using a
Jenkinsfile
: https://jenkins.io/doc/book/pipeline/jenkinsfile/ - Jenkins Docker integration docs: https://jenkins.io/doc/book/pipeline/docker/
- Securing Jenkins: https://jenkins.io/doc/book/system-administration/security/
- Using Let's Encrypt and Apache to secure Jenkins with SSL: https://www.agileana.com/blog/serve-jenkins-over-https-with-apache-as-proxy-and-certbot-letsencrypt-ssl/
- Using an NGINX reverse proxy or AWS ELB to secure Jenkins with SSL: https://wiki.jenkins.io/display/JENKINS/Jenkins+behind+an+NGinX+reverse+proxy
If you are running a real production application on a single host with docker-compose
, you should strongly consider securing your site with SSL. You can use Let's Encrypt and a host of Docker sidecar containers to achieve this:
- How to use Let's Encrypt, NGINX, and Docker...