forked from Unidata/thredds-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (40 loc) · 1.39 KB
/
docker-compose.yml
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
version: '3'
services:
thredds-quickstart:
image: unidata/thredds-docker:4.6.11
ports:
- "80:8080"
- "443:8443"
- "8443:8443"
thredds-production:
image: unidata/thredds-docker:4.6.11
ports:
- "80:8080"
- "443:8443"
- "8443:8443"
container_name: thredds
volumes:
- /path/to/your/tomcat/logs/:/usr/local/tomcat/logs/
- /path/to/your/thredds/logs/:/usr/local/tomcat/content/thredds/logs/
- /path/to/your/tomcat-users.xml:/usr/local/tomcat/conf/tomcat-users.xml
- /path/to/your/thredds/directory:/usr/local/tomcat/content/thredds
- /path/to/your/data/directory1:/path/to/your/data/directory1
- /path/to/your/data/directory2:/path/to/your/data/directory2
env_file:
- "compose${THREDDS_COMPOSE_ENV_LOCAL}.env"
###
# TDM
# Not strictly part of this repo, but useful to have around
# https://github.com/Unidata/tdm-docker
###
tdm:
image: unidata/tdm-docker:4.6
container_name: tdm
volumes:
- /path/to/your/thredds/directory:/usr/local/tomcat/content/thredds
- /path/to/your/data/directory1:/path/to/your/data/directory1
# TDM logging non-configurable until 5.0 so you'll need tdm.sh and
# tdm.jar if you want to log outside the container :-(
- /path/to/your/tdm/logs:/usr/local/tomcat/content/tdm/
env_file:
- "compose${THREDDS_COMPOSE_ENV_LOCAL}.env"