mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-08-01 01:34:37 +02:00
fix: add GHCR image refs to docker-compose and increase health start period
Users pulling pre-built images need the image: field. Increased backend health check start_period from 30s to 60s with 5 retries to handle slower startup environments. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
f5e0c9c461
commit
784405b808
+5
-3
@@ -1,5 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
backend:
|
backend:
|
||||||
|
image: ghcr.io/bigbodycobain/shadowbroker-backend:latest
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: ./backend/Dockerfile
|
dockerfile: ./backend/Dockerfile
|
||||||
@@ -19,10 +20,10 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8000/api/health"]
|
test: ["CMD", "curl", "-f", "http://localhost:8000/api/health"]
|
||||||
interval: 30s
|
interval: 15s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 5
|
||||||
start_period: 30s
|
start_period: 60s
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
@@ -30,6 +31,7 @@ services:
|
|||||||
cpus: '2'
|
cpus: '2'
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
|
image: ghcr.io/bigbodycobain/shadowbroker-frontend:latest
|
||||||
build:
|
build:
|
||||||
context: ./frontend
|
context: ./frontend
|
||||||
container_name: shadowbroker-frontend
|
container_name: shadowbroker-frontend
|
||||||
|
|||||||
Reference in New Issue
Block a user