From f0f36f1e3f2252180c400f5869bd606fe022d117 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 16 Dec 2024 02:29:52 +0100 Subject: [PATCH] `docker`: Add `apub_inbox` to the compose.yml file --- acrate_docker/compose.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/acrate_docker/compose.yml b/acrate_docker/compose.yml index c429537..cb2de1f 100644 --- a/acrate_docker/compose.yml +++ b/acrate_docker/compose.yml @@ -87,3 +87,22 @@ services: condition: "service_healthy" migrate: condition: "service_completed_successfully" + + # ActivityPub inbox server + apub_inbox: + build: + dockerfile: "./Dockerfile" + additional_contexts: + - "source=.." + target: "apub_inbox" + restart: "unless-stopped" + environment: + ACRATE_APUB_INBOX_BIND_ADDRESS: "0.0.0.0:80" + ACRATE_DATABASE_URL: *database_url + expose: + - 80 + depends_on: + database: + condition: "service_healthy" + migrate: + condition: "service_completed_successfully"