Closed joecorall closed 11 months ago
This appears to be working much better. WRT the problems in #21,
fcrepo
and its' getting populated.I assume this was just an oversight before? I'm hesitant to merge because I don't understand why this stopped working or whether it wasn't working to begin with. @nigelgbanks any insight?
Could be a volume / restart thing?
I don't know what Fcrepo is doing internally for its file backend. For example, it may create a file as a lock mutex, to control concurrent access to its file backed database. If restarted, the file lock may still be present, on the volume as Fcrepo rarely shutdowns gracefully, but the process using it as a lock has disappeared, so no new connections to its file backed database could happen? Or a needed file isn't captured by a volume and, as such, a restart causes some sort of data loss / race condition.
Though that's just speculation....
This is definitely safe to merge though.
Provide the necessary environment variables to create a database for fedora.
DB_HOST
andDB_PORT
are inherited from the base image, and have no default value in the fcrepo container. Those values are needed by the script that creates the database.Related to https://github.com/Islandora-Devops/isle-site-template/issues/21