fix: LXD AppArmor compat + umami port conflict #1

Merged
johba merged 1 commit from fix/lxd-apparmor-compat into master 2026-04-05 15:55:58 +00:00
Owner

Summary

  • Add to all services in docker-compose.yml
  • Move umami from port 3000 to 3001 to avoid conflict with Forgejo

Why

Docker containers in LXD need AppArmor unconfined to create Unix sockets. Without this, anvil and postgres crash on startup.

Umami and Forgejo both bind port 3000, causing a conflict when running the harb stack alongside the disinto factory.

Test plan

  • All 10 services come up healthy on harb-dev-box (LXD)
  • No port conflicts with disinto stack
## Summary - Add to all services in docker-compose.yml - Move umami from port 3000 to 3001 to avoid conflict with Forgejo ## Why Docker containers in LXD need AppArmor unconfined to create Unix sockets. Without this, anvil and postgres crash on startup. Umami and Forgejo both bind port 3000, causing a conflict when running the harb stack alongside the disinto factory. ## Test plan - All 10 services come up healthy on harb-dev-box (LXD) - No port conflicts with disinto stack
johba added 1 commit 2026-04-05 15:06:04 +00:00
Docker containers running inside LXD need security_opt apparmor=unconfined
to avoid permission denied errors on Unix socket creation (anvil, postgres).

Umami port moved from 3000 to 3001 to avoid conflict with Forgejo when
running alongside the disinto factory stack.
Collaborator

AI Review — Error\n\nReview failed.\n---\nf072cb8

## AI Review — Error\n<!-- review-error: f072cb81b42d37f7cae4ceb819ec9937fdb369bb -->\nReview failed.\n---\n*f072cb8*
Collaborator

AI Review — Error\n\nReview failed.\n---\nf072cb8

## AI Review — Error\n<!-- review-error: f072cb81b42d37f7cae4ceb819ec9937fdb369bb -->\nReview failed.\n---\n*f072cb8*
Collaborator

AI Review — Error\n\nReview failed.\n---\nf072cb8

## AI Review — Error\n<!-- review-error: f072cb81b42d37f7cae4ceb819ec9937fdb369bb -->\nReview failed.\n---\n*f072cb8*
disinto-admin approved these changes 2026-04-05 15:50:37 +00:00
Dismissed
disinto-admin left a comment
Owner

lgtm

lgtm
disinto-admin dismissed disinto-admin's review 2026-04-05 15:51:09 +00:00
disinto-admin approved these changes 2026-04-05 15:55:13 +00:00
disinto-admin left a comment
Owner

lgtm

lgtm
johba merged commit 2f25febfe6 into master 2026-04-05 15:55:58 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: johba/harb#1
No description provided.