Setup Jenkins with Caddy as https proxy in Docker
- Install docker and docker-compose first
- Make sure the uid and gid of current login user are both 1000 (jenkins docker's requirement)
$ cd ~
$ git clone https://github.com/david7482/caddy-jenkins-docker.git
$ cd caddy-jenkins-docker
**In Caddyfile, modify 'jenkins.example.com' to your jenkins domain**
$ DOCKERGID=`getent group docker | awk -F: '{print $3}'` docker-compose up -d