mirror of
https://gitee.com/kennylee/docker.git
synced 2024-12-02 03:48:15 +08:00
19 lines
474 B
YAML
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:
|