File size: 868 Bytes
f42bf4d | 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 | version: '3.8'
services:
app:
build:
context: .
dockerfile: Dockerfile
# Vite bakes VITE_* into the bundle at BUILD time — runtime
# `environment` below cannot change them afterwards. Rebuild after
# changing these values (or set them as Space secrets + rebuild).
args:
- VITE_SUPABASE_URL=${VITE_SUPABASE_URL:-https://ciytvulujiqemqljablq.supabase.co}
- VITE_SUPABASE_ANON_KEY=${VITE_SUPABASE_ANON_KEY:-}
- VITE_API_URL=${VITE_API_URL:-}
ports:
- "7860:7860"
environment:
- PORT=7860
- NODE_ENV=production
- SUPABASE_SERVICE_ROLE_KEY=${SUPABASE_SERVICE_ROLE_KEY:-}
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY:-}
- UPSTASH_REDIS_REST_URL=${UPSTASH_REDIS_REST_URL:-}
- UPSTASH_REDIS_REST_TOKEN=${UPSTASH_REDIS_REST_TOKEN:-}
restart: unless-stopped
|