-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
47 lines (44 loc) · 1.36 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
#-------------------------------------------------------------------------------
# Docker Development Environment Composition for the Tomcat base images
#-------------------------------------------------------------------------------
version: "3.8"
services:
tomcat-base:
build:
context: ./
args:
BASE_TAG: "${TOMCAT_BASE_TAG}"
container_name: tomcat-base
environment:
CONNECTOR_PROXY_PORT: "${TOMCAT_PROXY_PORT}"
CONNECTOR_PROXY_SCHEME: 'http'
CONNECTOR_PROXY_SECURE: 'false'
image: "onaci/tomcat-base:${TOMCAT_BASE_TAG}"
ports:
- "${TOMCAT_PROXY_PORT}:8080"
volumes:
- ./webapps/:/usr/local/tomcat/webapps/
thredds-base:
build:
context: ./
dockerfile: Dockerfile.thredds-base
args:
BASE_TAG: "${THREDDS_BASE_TAG}"
container_name: thredds-base
environment:
ACCESS_LOGGING_ENABLED: 'false'
CONNECTOR_PROXY_PORT: "${THREDDS_PROXY_PORT}"
CONNECTOR_PROXY_SCHEME: 'http'
CONNECTOR_PROXY_SECURE: 'false'
THREDDS_XMX_SIZE: '1024M'
THREDDS_XMS_SIZE: '512M'
image: "onaci/thredds-base:${THREDDS_BASE_TAG}"
ports:
- "${THREDDS_PROXY_PORT}:8080"
volumes:
- thredds-base-cache:/usr/local/tomcat/content/cache
- thredds-base-prefs:/usr/local/tomcat/javaUtilPrefs
volumes:
thredds-base-cache:
thredds-base-prefs: