docker: Add apub_inbox to the compose.yml file

This commit is contained in:
Steffo 2024-12-16 02:29:52 +01:00
parent 0ee664f6d0
commit f0f36f1e3f
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

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