Merge pull request #400 from outis1one/claude/pressbooks-authelia-setup-tcryml
Fix pressbooks.sh: docker compose up never ran after a successful build
This commit is contained in:
@@ -641,8 +641,12 @@ PBENV
|
|||||||
log_success "Pressbooks configured at $DIR (port $WEB_PORT)"
|
log_success "Pressbooks configured at $DIR (port $WEB_PORT)"
|
||||||
log_info "Building image (first build downloads PrinceXML and cover-generator packages — can take a few minutes)..."
|
log_info "Building image (first build downloads PrinceXML and cover-generator packages — can take a few minutes)..."
|
||||||
|
|
||||||
if ! docker compose build && docker compose up -d; then
|
if ! docker compose build; then
|
||||||
log_error "Failed to build/start — check: docker compose logs"
|
log_error "Image build failed — check the output above."
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
if ! docker compose up -d; then
|
||||||
|
log_error "Failed to start — check: docker compose logs"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user