From e5bfa3c39bc17871807afb7db9411a2f47aa13ef Mon Sep 17 00:00:00 2001 From: James Loh Date: Mon, 4 Aug 2025 18:53:44 +1000 Subject: [PATCH] ActivityPub needs migrations before it can start no ref - If migrations haven't run AP can't start and will just crash so it needs to have finished before it can boot --- compose.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/compose.yml b/compose.yml index 0d6214e..f58ef6a 100644 --- a/compose.yml +++ b/compose.yml @@ -119,7 +119,10 @@ services: LOCAL_STORAGE_PATH: /opt/activitypub/content/images/activitypub LOCAL_STORAGE_HOSTING_URL: https://${DOMAIN}/content/images/activitypub depends_on: - - db + db: + condition: service_healthy + activitypub-migrate: + condition: service_completed_successfully profiles: [activitypub] networks: - ghost_network