mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +00:00
add compose file
This commit is contained in:
parent
6e24f5dc64
commit
553527f329
1 changed files with 29 additions and 0 deletions
29
sandbox/docker-compose.yaml
Normal file
29
sandbox/docker-compose.yaml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
version: '3.7'
|
||||||
|
services:
|
||||||
|
jenkins:
|
||||||
|
image: jenkins/jenkins:lts
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
ports:
|
||||||
|
- 8080:8080
|
||||||
|
- 50000:50000
|
||||||
|
volumes:
|
||||||
|
- ./data/jenkins:/var/jenkins_home
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
|
|
||||||
|
|
||||||
|
nexus:
|
||||||
|
image: sonatype/nexus3
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
ports:
|
||||||
|
- 8081:8081
|
||||||
|
volumes:
|
||||||
|
- ./nexus/data:/nexus-data
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
|
|
||||||
|
networks:
|
||||||
|
default:
|
Loading…
Reference in a new issue