Merge pull request #2253 from xiagw/add-tomcat

Add tomcat
This commit is contained in:
Shao Yu-Lung (Allen) 2019-12-06 20:03:43 +08:00 committed by GitHub
commit a954732145
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 0 deletions

View File

@ -1625,6 +1625,7 @@ services:
networks:
- backend
- frontend
### CONFLUENCE ################################################
confluence:
container_name: Confluence
@ -1639,3 +1640,18 @@ services:
- postgres
volumes:
- ${DATA_PATH_HOST}/Confluence:/var/atlassian/application-data
### tomcat ####################################################
tomcat:
container_name: tomcat
image: tomcat:${TOMCAT_VERSION}
ports:
- "${TOMCAT_HOST_HTTP_PORT}:8080"
networks:
- frontend
- backend
volumes:
- ${DATA_PATH_HOST}/tomcat/webapps:/usr/local/tomcat/webapps
- ${DATA_PATH_HOST}/tomcat/logs:/usr/local/tomcat/logs
# restart: always

View File

@ -760,6 +760,10 @@ SONARQUBE_POSTGRES_DB=sonar
SONARQUBE_POSTGRES_USER=sonar
SONARQUBE_POSTGRES_PASSWORD=sonarPass
### TOMCAT ################################################
TOMCAT_VERSION=8.5.43
TOMCAT_HOST_HTTP_PORT=8080
### CASSANDRA ################################################
# Cassandra Version, supported tags can be found at https://hub.docker.com/r/bitnami/cassandra/