From 55891eb7b53aef241c15f77face176c41dc3a6c0 Mon Sep 17 00:00:00 2001 From: Kyle Pope Date: Wed, 18 Mar 2026 04:20:33 +0800 Subject: [PATCH] Add build: fallback alongside image: for initial bootstrap When both image: and build: are present, docker compose up --build builds locally and tags with the image name. This allows the stack to start before registry images exist, solving the bootstrap problem. Co-Authored-By: Claude Opus 4.6 (1M context) --- docker-compose.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index b5b8fc7..ccd3dfd 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -20,6 +20,7 @@ services: backend: image: git.sentinelforest.xyz/rohskiddo/umbra-backend:main-latest + build: ./backend restart: unless-stopped env_file: .env depends_on: @@ -42,6 +43,7 @@ services: frontend: image: git.sentinelforest.xyz/rohskiddo/umbra-frontend:main-latest + build: ./frontend restart: unless-stopped ports: - "80:8080"