kines9661 commited on
Commit
138dfc1
·
verified ·
1 Parent(s): b780873

Create docker-compose.yml

Browse files
Files changed (1) hide show
  1. docker-compose.yml +14 -0
docker-compose.yml ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ version: '3.8'
2
+
3
+ services:
4
+ ai-image-gen:
5
+ build: .
6
+ ports:
7
+ - "7860:7860"
8
+ volumes:
9
+ - ./models:/app/models
10
+ environment:
11
+ - PUBLIC_API_KEY=${PUBLIC_API_KEY:-demo-key-123456}
12
+ - HF_TOKEN=${HF_TOKEN:-}
13
+ - SPACE_URL=${SPACE_URL:-http://localhost:7860}
14
+ restart: unless-stopped