From c6bbdc2887b09341ab45ca6d69233702d76592d4 Mon Sep 17 00:00:00 2001 From: Joe Grigg Date: Tue, 3 Jun 2025 10:50:34 +0100 Subject: [PATCH] Added GCS auth setup for activitypub --- compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compose.yml b/compose.yml index 75b048b..52aef5f 100644 --- a/compose.yml +++ b/compose.yml @@ -89,6 +89,8 @@ services: activitypub: image: ghcr.io/tryghost/activitypub:edge restart: always + volumes: + - ./gcscreds.json:/home/gcs/gcscreds.json expose: - "8080" - "9229" @@ -101,6 +103,7 @@ services: MYSQL_DATABASE: activitypub USE_MQ: false GCP_BUCKET_NAME: ${ACTIVITYPUB_GCP_BUCKET:?ACTIVITYPUB_GCP_BUCKET environment variable is required} + GOOGLE_APPLICATION_CREDENTIALS: /home/gcs/gcscreds.json depends_on: - db profiles: [activitypub]