add tomcat
This commit is contained in:
parent
ca80dd1694
commit
ae64a619b7
|
@ -1487,6 +1487,7 @@ services:
|
|||
networks:
|
||||
- backend
|
||||
- frontend
|
||||
|
||||
### CONFLUENCE ################################################
|
||||
confluence:
|
||||
container_name: Confluence
|
||||
|
@ -1501,3 +1502,17 @@ 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
|
|
@ -718,3 +718,7 @@ SONARQUBE_POSTGRES_HOST=postgres
|
|||
SONARQUBE_POSTGRES_DB=sonar
|
||||
SONARQUBE_POSTGRES_USER=sonar
|
||||
SONARQUBE_POSTGRES_PASSWORD=sonarPass
|
||||
|
||||
### TOMCAT ################################################
|
||||
TOMCAT_VERSION=8.5.43
|
||||
TOMCAT_HOST_HTTP_PORT=8080
|
||||
|
|
Loading…
Reference in New Issue