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
This commit is contained in:
James Loh
2025-08-04 18:53:44 +10:00
parent 84532112ed
commit e5bfa3c39b

View File

@@ -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