diff --git a/docker-compose.yml b/docker-compose.yml index e805c97..9bdc024 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: this+goes+nowhere@doesnotexist.ioos.us + 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: micah.wengren@noaa.gov diff --git a/erddap/conf/config.sh b/erddap/conf/config.sh deleted file mode 100755 index e958edd..0000000 --- a/erddap/conf/config.sh +++ /dev/null @@ -1,25 +0,0 @@ -ERDDAP_bigParentDirectory="/erddapData/" -ERDDAP_baseUrl="http://localhost:8080" -ERDDAP_baseHttpsUrl="http://localhost:8080" -ERDDAP_flagKeyKey="4a0c345f-d494-4edc-b8c7-640c6d99f4b1" - -ERDDAP_emailEverythingTo="this+goes+nowhere@doesnotexist.ioos.us" -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="micah.wengren@noaa.gov"