Closed ctgraham closed 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.
Confirmed. The database is being build on initial container creation via the docker-entrypoint-initdb.d. Nothing to fix here.
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.