-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (32 loc) · 847 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (32 loc) · 847 Bytes
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
services:
kinevision:
build: .
ports:
- "80:80"
environment:
- DATABASE_URL=postgresql://kinevision:securepassword@kv-postgres:5432/kinevision_db
- SECRET_KEY=your-secret-key
- ALGORITHM=HS256
- ACCESS_TOKEN_EXPIRE_MINUTES=30
- SMTP_HOST=smtp.example.com
- SMTP_PORT=587
- SMTP_USERNAME=your-username
- SMTP_PASSWORD=your-password
- SMTP_FROM_NAME=KineVision
volumes:
- video_storage:/app/videos
depends_on:
- kv-postgres
restart: unless-stopped
kv-postgres:
image: postgres:15-alpine
environment:
- POSTGRES_USER=kinevision
- POSTGRES_PASSWORD=securepassword
- POSTGRES_DB=kinevision_db
volumes:
- postgres_data:/var/lib/postgresql/data
restart: unless-stopped
volumes:
postgres_data:
video_storage: