From 1324a7e84e30e3e740db40f67da5d946543f4077 Mon Sep 17 00:00:00 2001 From: Mark Calvert Date: Tue, 2 Jul 2024 07:19:11 +0800 Subject: [PATCH] Update db-import command to remove /tmp/container_ready so the start up scripts are run --- .ahoy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ahoy.yml b/.ahoy.yml index 80501fef..3c0fb7b3 100644 --- a/.ahoy.yml +++ b/.ahoy.yml @@ -133,7 +133,7 @@ commands: # Import the database docker compose -f $DOCKER_COMPOSE exec -T $POSTGRESQL_CONTAINER_NAME sh -c 'pg_restore -U $CKAN_DB_USER -d $CKAN_DB --clean --if-exists -v --no-owner --no-privileges' < "$@" # Initialise plugin tables - docker compose -f $DOCKER_COMPOSE exec -T $CKAN_CONTAINER_NAME sh -c 'export CKAN__PLUGINS=$(grep "^ckan\.plugins" $APP_DIR/config/dbca.ini | cut -d"=" -f2) && bash /docker-entrypoint.d/02_setup_dbca.sh' + docker compose -f $DOCKER_COMPOSE exec -T $CKAN_CONTAINER_NAME sh -c 'rm /tmp/container_ready && export CKAN__PLUGINS=$(grep "^ckan\.plugins" $APP_DIR/config/dbca.ini | cut -d"=" -f2) && bash /docker-entrypoint.d/02_setup_dbca.sh' # Rebuild the Solr index ahoy reindex-solr else