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: