aiidalab / aiidalab-docker-stack

Docker images with the basic software stack for AiiDAlab

Home Page:https://aiidalab.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Document how to launch various docker stacks

danielhollas opened this issue · comments

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

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

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?

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.

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.