-
Notifications
You must be signed in to change notification settings - Fork 93
/
docker-compose.yml
27 lines (26 loc) · 1.1 KB
/
docker-compose.yml
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
version: '3.3'
services:
jenkins:
build:
context: ./master
ports:
- 80:8080
- 50000:50000
volumes:
- jenkins_home_summit:/var/jenkins_home
- ./casc_configs:/var/jenkins_conf
# secrets:
# - github #Github username with password as an example. Purpose here is to have a user with write-access for special cases. Like the git-publisher.
# - adminpw #Initial adminstrator user password. Added for debugging purposes. Should be removed prior to go-live.
# - agent_private_key #ssh private key for connecting ssh slaves
environment:
- CASC_JENKINS_CONFIG=/var/jenkins_conf
# secrets: #Be careful with newlines in your secrets, make sure to remove them before running docker-compose up.
# github:
# file: /var/praqma-jenkins-casc/secrets/github
# adminpw:
# file: /var/praqma-jenkins-casc/secrets/adminpw
# agent_private_key: #This should point to the private key you want your jenkins master to use when connecting to slaves. So in AWS for example this would be your .pem file
# file: ~/.ssh/id_rsa
volumes:
jenkins_home_summit: