midokhaled927 commited on
Commit
291d4dc
·
verified ·
1 Parent(s): 32f7eab

Create docker-compose.yml

Browse files
Files changed (1) hide show
  1. docker-compose.yml +21 -0
docker-compose.yml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ version: '3.8'
2
+
3
+ services:
4
+ aefrs:
5
+ build: .
6
+ container_name: aefrs-ultimate
7
+ ports:
8
+ - "7860:7860"
9
+ volumes:
10
+ - ./database:/app/database
11
+ - ./models:/app/models
12
+ - ./logs:/app/logs
13
+ environment:
14
+ - ENVIRONMENT=production
15
+ - LOG_LEVEL=INFO
16
+ restart: unless-stopped
17
+ healthcheck:
18
+ test: ["CMD", "curl", "-f", "http://localhost:7860/healthz"]
19
+ interval: 30s
20
+ timeout: 10s
21
+ retries: 3