Skip to content

Commit

Permalink
Move env vars to docker-compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
srstsavage committed Jul 24, 2023
1 parent c7e4bee commit a6fc46c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 34 deletions.
38 changes: 29 additions & 9 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,38 @@
version: '2'
services:
erddap:
container_name: "erddap_gold_standard"
image: axiom/docker-erddap:2.23-jdk17-openjdk
restart: unless-stopped
ports:
- "8080:8080"
volumes:
- ./erddap/conf/robots.txt:/usr/local/tomcat/webapps/ROOT/robots.txt
- ./erddap/content:/usr/local/tomcat/content/erddap
- ./erddap/data:/erddapData
- ./datasets:/datasets
environment:
#note: these can also be set in /usr/local/tomcat/bin/config.sh
ERDDAP_MIN_MEMORY: 1G
ERDDAP_MAX_MEMORY: 2G
volumes:
- "${PWD}/erddap/conf/config.sh:/usr/local/tomcat/bin/config.sh"
- "${PWD}/erddap/conf/robots.txt:/usr/local/tomcat/webapps/ROOT/robots.txt"
- "${PWD}/erddap/content:/usr/local/tomcat/content/erddap"
- "${PWD}/erddap/data:/erddapData"
- "${PWD}/datasets:/datasets"
- "/tmp/:/usr/local/tomcat/temp/"
ERDDAP_bigParentDirectory: /erddapData/
ERDDAP_baseUrl: http://localhost:8080
ERDDAP_baseHttpsUrl: https://localhost:8080
ERDDAP_flagKeyKey: change-this-value!!
ERDDAP_emailEverythingT: [email protected]
ERDDAP_emailDailyReportsTo:
ERDDAP_emailFromAddress:
ERDDAP_emailUserName:
ERDDAP_emailPassword:
ERDDAP_emailProperties:
ERDDAP_emailSmtpHost:
ERDDAP_emailSmtpPort:
ERDDAP_adminInstitution: Integrated Ocean Observing System (IOOS)
ERDDAP_adminInstitutionUrl: https://ioos.github.io/
ERDDAP_adminIndividualName: Micah Wengren
ERDDAP_adminPosition: Data Manager
ERDDAP_adminPhone: "240-533-9441"
ERDDAP_adminAddress: "1315 East-West Highway 2nd Floor"
ERDDAP_adminCity: Silver Spring
ERDDAP_adminStateOrProvince: MD
ERDDAP_adminPostalCode: "20910"
ERDDAP_adminCountry: USA
ERDDAP_adminEmail: [email protected]
25 changes: 0 additions & 25 deletions erddap/conf/config.sh

This file was deleted.

0 comments on commit a6fc46c

Please sign in to comment.