fix: declare cell-network external; pre-create in Makefile start/update
Unit Tests / test (push) Successful in 11m16s

Docker Compose v5 enforces label ownership on networks it creates. On
systems where cell-network was created by an older compose version (no
labels), Caddy and other services fail to start with "incorrect label"
error.

Declaring the network external in docker-compose.yml skips label
validation. The Makefile start/update targets now create the network if
it doesn't exist (idempotent). The reinstall and uninstall (full) paths
explicitly delete the network so fresh recreations are clean.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-06 03:13:01 -04:00
parent f3737acfa4
commit 1b44a18062
2 changed files with 9 additions and 6 deletions
+1 -4
View File
@@ -181,7 +181,4 @@ services:
networks:
cell-network:
name: cell-network
driver: bridge
ipam:
config:
- subnet: ${CELL_NETWORK:-172.20.0.0/16}
external: true