Setup Nginx, Jenkins and Nexus by Docker Compose with options:
- Nginx redirect to Jenkins and Nexus
- Jenkins store all jobs and configuration data in external volume
- Nexus store all artifacts in external volume
- Restrict Jenkins to use no more than 500MB RAM
- Restrict Jenkins to utilize no more than 35% CPU
- Restrict Nexus to utilize no more than 25% CPU
- Send logs to journald
- Custom network and IP addresses
Also incluide:
- swarm.yml for Docker Swarm, which setup Nginx, Jenkins and Nexus with same options (except custom network and IP addresses)