sitcod3 commited on
Commit
f42bf4d
·
verified ·
1 Parent(s): ad56d96

Upload docker-compose.yml with huggingface_hub

Browse files
Files changed (1) hide show
  1. docker-compose.yml +24 -0
docker-compose.yml ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ version: '3.8'
2
+
3
+ services:
4
+ app:
5
+ build:
6
+ context: .
7
+ dockerfile: Dockerfile
8
+ # Vite bakes VITE_* into the bundle at BUILD time — runtime
9
+ # `environment` below cannot change them afterwards. Rebuild after
10
+ # changing these values (or set them as Space secrets + rebuild).
11
+ args:
12
+ - VITE_SUPABASE_URL=${VITE_SUPABASE_URL:-https://ciytvulujiqemqljablq.supabase.co}
13
+ - VITE_SUPABASE_ANON_KEY=${VITE_SUPABASE_ANON_KEY:-}
14
+ - VITE_API_URL=${VITE_API_URL:-}
15
+ ports:
16
+ - "7860:7860"
17
+ environment:
18
+ - PORT=7860
19
+ - NODE_ENV=production
20
+ - SUPABASE_SERVICE_ROLE_KEY=${SUPABASE_SERVICE_ROLE_KEY:-}
21
+ - OPENROUTER_API_KEY=${OPENROUTER_API_KEY:-}
22
+ - UPSTASH_REDIS_REST_URL=${UPSTASH_REDIS_REST_URL:-}
23
+ - UPSTASH_REDIS_REST_TOKEN=${UPSTASH_REDIS_REST_TOKEN:-}
24
+ restart: unless-stopped