description 'Jenkins'
run_list(
- 'recipe[ssl_cert::server_key_pairs]',
+ #'recipe[ssl_cert::server_key_pairs]',
'role[docker]',
'recipe[jenkins-grid::docker-compose]',
)
override_attributes(
'jenkins-grid' => {
- 'with_ssl_cert_cookbook' => true,
+ #'with_ssl_cert_cookbook' => true,
'ssl_cert' => {
'common_name' => jenkins_cn,
},
'jenkins' => {
'restart' => 'always',
'image' => 'jenkins:2.19.4',
- 'expose' => [
- '8083', # for https
- ],
+ #'expose' => [
+ # '8083', # for https
+ #],
'ports' => [
- #'8080:8080',
- '8083:8083',
+ '8080:8080',
+ #'8083:8083',
'50000:50000',
],
'environment' => {
'JENKINS_OPTS' => [
- '--httpPort=-1 --httpsPort=8083',
+ #'--httpPort=-1 --httpsPort=8083',
# These options will be set by the jenkins-grid::docker-compose recipe automatically.
#'--httpsCertificate=/var/lib/jenkins/server.crt',
#'--httpsPrivateKey=/var/lib/jenkins/server.key',