ulsdevteam / ccvgd-integral

Docker based deployment of the CCVGD web interface
2 stars 2 forks source link

Clean build of backend doesn't automatically load the data #6

Closed ctgraham closed 2 years ago

ctgraham commented 2 years ago

With an initial build of the ccvgd-backend container, nothing automatically triggers a data load via the python scripts.

This should either be automated in the Dockerfile / docker-compose, or should be documented in the READMEs to indicate how do do the initial data load in a containerized environment.

Caligula1022 commented 2 years ago

I'm not so sure. The general case is that the backend container is started only after the db container is started, and the db container automatically imports the sql file stored in the db folder as initialization.

ctgraham commented 2 years ago

Confirmed. The database is being build on initial container creation via the docker-entrypoint-initdb.d. Nothing to fix here.