Spaces:
Paused
Paused
File size: 2,306 Bytes
bcf46c3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | services:
# βββ Redis Cache ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- type: redis
name: opticparse-cache
region: singapore
plan: free
ipAllowList: [] # only allow internal connections
# βββ Opticparse Python Vision Scraper (Singapore, Docker) βββββββββββββββββ
- type: web
name: opticparse-python-sg
runtime: docker
repo: https://github.com/parastejpal987-cmyk/opticparse
branch: main
region: singapore
plan: free
dockerfilePath: ./Dockerfile
buildCommand: pip install -r requirements.txt && PLAYWRIGHT_BROWSERS_PATH=0 playwright install chromium --with-deps
envVars:
- key: GROQ_API_KEY
sync: false
- key: OPENROUTER_KEY
sync: false
- key: OPTICPARSE_API_KEY
sync: false
- key: DATABASE_URL
sync: false
- key: CLOUDFLARE_AI_GATEWAY_ACCOUNT_ID
sync: false
value: "3b63a0448b1b9677d01fab1c74ed52f7"
- key: PORT
value: "8000"
- key: SUPABASE_URL
sync: false
- key: SUPABASE_SERVICE_KEY
sync: false
- key: BROWSERLESS_API_KEY
sync: false
- key: REDIS_URL
fromService:
type: redis
name: opticparse-cache
property: connectionString
# βββ PhishVision Node Server (Singapore) ββββββββββββββββββββββββββββββββββ
- type: web
name: opticparse-node-sg
runtime: node
repo: https://github.com/parastejpal987-cmyk/opticparse
branch: main
rootDir: opticparse-js
region: singapore
plan: free
buildCommand: npm install --production=false && npm run build
startCommand: npm start
envVars:
- key: GROQ_API_KEY
sync: false
- key: OPENROUTER_KEY
sync: false
- key: CLOUDFLARE_AI_GATEWAY_ACCOUNT_ID
sync: false
value: "3b63a0448b1b9677d01fab1c74ed52f7"
- key: NODE_ENV
value: production
- key: REDIS_URL
fromService:
type: redis
name: opticparse-cache
property: connectionString
|