From db769f0ea572f2cefede0ed60ecbfdd19e8f15c8 Mon Sep 17 00:00:00 2001 From: Frederic Cabassut Date: Fri, 6 Mar 2026 23:35:08 +0100 Subject: [PATCH] chore: switch to GHCR image in docker-compose, remove dokploy webhook - docker-compose.yml now uses pre-built ghcr.io image instead of build - ORIGIN is configurable via env var for deployment - Remove deploy job from release workflow (Dokploy pulls compose from repo) Co-Authored-By: Claude Opus 4.6 --- .github/workflows/release.yml | 8 -------- docker-compose.yml | 4 ++-- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cfb2011..dc0c5ec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,11 +54,3 @@ jobs: uses: softprops/action-gh-release@v2 with: generate_release_notes: true - - deploy: - name: Deploy - runs-on: ubuntu-latest - needs: release - steps: - - name: Trigger Dokploy redeploy - run: curl -X POST "${{ secrets.DOKPLOY_WEBHOOK_URL }}" diff --git a/docker-compose.yml b/docker-compose.yml index 660d9e7..7813589 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ services: crumbs: - build: . + image: ghcr.io/bretzel-app/crumbs:latest container_name: crumbs ports: - "3000:3000" @@ -10,7 +10,7 @@ services: - NODE_ENV=production - DATA_DIR=/data - DATABASE_URL=/data/crumbs.db - - ORIGIN=http://localhost:3000 + - ORIGIN=${ORIGIN:-http://localhost:3000} restart: unless-stopped volumes: