Skip to content

Commit

Permalink
Support persisting Jenkins data in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
samrocketman committed Jun 29, 2018
1 parent 081ba54 commit 935e5ea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
version: '2.2'
volumes:
jenkins-data:
services:
jenkins:
init: true
Expand All @@ -7,3 +9,5 @@ services:
dockerfile: Dockerfile
ports:
- 8080:8080
volumes:
- 'jenkins-data:/var/lib/jenkins'

0 comments on commit 935e5ea

Please sign in to comment.