-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathjenkins-buildserver.dockerapp
More file actions
39 lines (34 loc) · 1.01 KB
/
jenkins-buildserver.dockerapp
File metadata and controls
39 lines (34 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# This section contains your application metadata.
# Version of the application
version: "latest"
# Name of the application
name: jenkins-buildserver
# A short description of the application
description: "Jenkins Build Server"
# Namespace to use when pushing to a registry. This is typically your Hub username.
namespace: "admpresales"
# List of application maitainers with name and email for each
maintainers:
- name: Jason Hrabi
email: jason.hrabi@microfocus.com
# Specify false here if your application doesn't support Swarm or Kubernetes
targets:
swarm: false
kubernetes: false
---
# This section contains the Compose file that describes your application services.
version: '3.5'
services:
jenkins-build:
image: jenkins/jenkins
ports:
- "9090:8080"
- "50001:50001"
container_name: jenkins-build
volumes:
- /jenkins:/var/jenkins_home
restart: always
environment:
JENKINS_SLAVE_AGENT_PORT: 50001
---
# This section contains the default values for your application settings.