From 0d2fad087880786b2b4c2b3de1ad9a76851a0169 Mon Sep 17 00:00:00 2001 From: James Loh Date: Fri, 20 Jun 2025 15:53:45 +1000 Subject: [PATCH] Ghost/AP: Added dependency pinning ref https://linear.app/ghost/issue/ENG-2411 - This doesn't completely solve the 'Ghost mustn't start will AP does' problem _but_ does save it on cold boots or when the whole stack isn't running - If Ghost is already running it unfortunately wont restart but we can work around that with docs --- compose.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/compose.yml b/compose.yml index 490533c..4960b88 100644 --- a/compose.yml +++ b/compose.yml @@ -49,6 +49,9 @@ services: tinybird-deploy: condition: service_completed_successfully required: false + activitypub: + condition: service_started + required: false networks: - ghost_network @@ -89,10 +92,10 @@ services: activitypub: image: ghcr.io/tryghost/activitypub:edge restart: always - volumes: - - ghost_content:/opt/activitypub/content expose: - "8080" + volumes: + - ghost_content:/opt/activitypub/content environment: NODE_ENV: production PORT: 8080