Merge pull request #396 from mendableai/bugfix/crawl-docker

[BUG] Fixed docker self hosting issue
This commit is contained in:
Nicolas 2024-07-12 16:48:16 -04:00 committed by GitHub
commit 214a6ee608
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 4 deletions

View File

@ -2,6 +2,7 @@ import { supabase_service } from "../supabase";
import "dotenv/config";
export async function logCrawl(job_id: string, team_id: string) {
if (process.env.USE_DB_AUTHENTICATION === 'true') {
try {
const { data, error } = await supabase_service
.from("bulljobs_teams")
@ -15,3 +16,4 @@ export async function logCrawl(job_id: string, team_id: string) {
console.error("Error logging crawl job:\n", error);
}
}
}

View File

@ -56,6 +56,7 @@ services:
- redis
- playwright-service
- api
command: [ "pnpm", "run", "workers" ]
redis:
image: redis:alpine