update
This commit is contained in:
18
tomcat/Demo/SingleNode/docker-compose.yml
Normal file
18
tomcat/Demo/SingleNode/docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
tomcat:
|
||||
image: harbor.colben.cn/general/tomcat:8
|
||||
container_name: tomcat
|
||||
restart: "on-failure"
|
||||
stop_grace_period: 1m
|
||||
ports:
|
||||
- 8080:8080
|
||||
volumes:
|
||||
- type: bind
|
||||
source: ./tomcat/webapps
|
||||
target: /opt/tomcat/webapps
|
||||
- type: bind
|
||||
source: ./tomcat/logs
|
||||
target: /opt/tomcat/logs
|
||||
|
||||
Reference in New Issue
Block a user