Skip to content

Update the docker-compose.yml to be consistent with the docker commands in the guide #80

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pkraska
Copy link

@pkraska pkraska commented Jan 15, 2025

Updated the docker-compose.yml to include the config.sh environment variables file when you use docker-compose up -d so it's available to be read from.

You get errors if you have an ERDDAP_adminPhone as anything other than an integer, so I'm not sure at this point if it would be easier to just edit the setup.xml file in erddap/content/ in lieu of using the config.sh file to set environment variables.

Added the config.sh file to the docker container so that it can use the file to set the environment variables.
forgot space on previous commit
@srstsavage
Copy link
Contributor

You get errors if you have an ERDDAP_adminPhone as anything other than an integer

Could you please elaborate here? I'm testing with values like +1-240-533-9444 and it's working without issue. If ERDDAP is erroring on legitimate characters in adminPhone an issue should be created in the ERDDAP GitHub repo.

srstsavage added a commit that referenced this pull request Apr 25, 2025
Also upgrade ERDDAP image in docker-compose.yml to 2.25-1 and
add comment about mounting config.sh as an alternate configuration option.

Closes #80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants