docker/ci-webhook/tomcat/docker-compose.yml
2017-04-27 14:04:22 +08:00

19 lines
474 B
YAML

version: '2'
services:
app:
build: .
volumes:
- ./server.js:/root/ci-webhook/server.js:z
- ./supervisord.conf:/etc/supervisor/conf.d/supervisord.conf:z
- ./data/gradle/:/root/.gradle/
#- ./data/webapps/:/opt/tomcat/webapps/:z
ports:
- "8080:8080"
- "7788:7788"
- "2001:22"
restart: always
networks:
- ci-tomcat
networks:
ci-tomcat: