Skip to content
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

Document how to launch various docker stacks #334

Open
danielhollas opened this issue Nov 27, 2022 · 4 comments
Open

Document how to launch various docker stacks #334

danielhollas opened this issue Nov 27, 2022 · 4 comments
Assignees

Comments

@danielhollas
Copy link
Contributor

I am trying to test the base image and am getting this error in the logs

/usr/local/bin/start.sh: running script /usr/local/bin/before-notebook.d/40_prepare-aiida.sh
++ export SHELL=/bin/bash
++ SHELL=/bin/bash
++ [[ true == true ]]
++ verdi profile show default
++ NEED_SETUP_PROFILE=true
++ [[ true == true ]]
++ verdi quicksetup --non-interactive --profile default --email aiida@localhost --first-name Giuseppe --last-name Verdi --institution Khedivial --config /opt/config-quick-setup.yaml
Unable to autodetect postgres setup.
Critical: failed to determine the PostgreSQL setup

@unkcpz btw: this tells me that we should perhaps test the base image as well, not only lab and base-with-services

@unkcpz
Copy link
Member

unkcpz commented Nov 29, 2022

But for the base, you need to start from docker compose along with the rabbitmq and PostgreSQL services. did you try that?

@danielhollas
Copy link
Contributor Author

I didn't realize that this is the requirement.

I guess my question is, should the container start even without those services available, or would it be pointless and it is better to fail?

@unkcpz
Copy link
Member

unkcpz commented Nov 29, 2022

I think it is better to fail, we can well document it in the README. I had the same issue the first time test the repo 😄
From my point of view, for AiiDAlab I'd like to move to drop the full-stack and leave only the docker compose support.

@danielhollas danielhollas changed the title aiidalab/base:latest image fails to start Document how to launch various docker stacks Nov 29, 2022
@danielhollas
Copy link
Contributor Author

Okay, I've changed the issue to document this and assigned you as you probably have most experience with this, hope that's okay. I've also reduced the priority.

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

No branches or pull requests

2 participants