-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathdocker-compose.yml
30 lines (30 loc) · 1.06 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
services:
erddap:
build: ..
ports:
- "${ERDDAP_HTTP_PORT:-8888}:8080"
environment:
ERDDAP_baseUrl: "${ERDDAP_baseUrl:-http://localhost:8888}"
ERDDAP_DATASETS_standardPrivacyPolicy: "<h1>Any and all usage of this data is permitted.</h1>"
DATASETSD_MARK_REMOVED_DATASETS_INACTIVE: "1"
DATASETSD_REFRESH_MISSING_DATASETS: "1"
DISABLE_CORS: "1"
volumes:
- ./data:/data:ro
- ./datasets.d:/datasets.d:ro
- ./erddapData:/erddapData
- ./tomcatLogs:/usr/local/tomcat/logs
#healthcheck to check ERDDAP landing page. the check provides the added bonus
#of triggering ERDDAP initialization before the first user visit
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/erddap/index.html"]
interval: 10s
erddap-logs:
image: gynter/rsyslog-relp:alpine
volumes:
- ./erddapData:/erddapData:ro
- ./tomcatLogs:/usr/local/tomcat/logs:ro
- ./rsyslog/rsyslog.conf:/etc/rsyslog.conf:ro
- ./rsyslog/rsyslog.d:/etc/rsyslog.d:ro
depends_on:
- erddap