Skip to content

Commit

Permalink
Add note about ERDDAP env naming conflicts
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Kerney <[email protected]>
  • Loading branch information
kwilcox and abkfenris authored Feb 24, 2022
1 parent 59427b8 commit c27b67d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ Any number of these options can be taken to configure your ERDDAP container inst
axiom/docker-erddap
```

**Depending on your container environment, it may pass in it's own environment variables relating to your resources. Potentially there could be a collision with the `ERDDAP_*` config variables if any of your resources start with ERDDAP.**
3. Configure using a shell script
You can mount a file called `config.sh` to `${CATALINA_HOME}/bin/config.sh` that sets any ERDDAP configuration environmental variables you want to use. This is sourced in the container-provided `setenv.sh` file and and all variables will be exported to be used by ERDDAP for configuration. These will take precedence over environmental variable specified when running the container (see above).
Expand Down

0 comments on commit c27b67d

Please sign in to comment.