compose: pull image for deploy instead of building

Dockhand pulls the CI-built image, so drop `build: .` (no build context
on the deploy host) and add pull_policy: always.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
dlawler489 2026-06-22 20:29:54 +10:00
parent 3a6a2143ef
commit 5d69acd718

View file

@ -15,8 +15,10 @@ services:
restart: unless-stopped restart: unless-stopped
app: app:
build: . # Pulled from the Forgejo registry (built by CI). To build locally instead:
# docker build -t git.plexultra.com/dlawler489/printhive:latest .
image: git.plexultra.com/dlawler489/printhive:latest image: git.plexultra.com/dlawler489/printhive:latest
pull_policy: always
depends_on: depends_on:
db: db:
condition: service_healthy condition: service_healthy