added docker and modify the file so it work

This commit is contained in:
Rainy21
2026-03-19 02:36:53 -04:00
parent 85ff2f5c72
commit 972247ee5b
9 changed files with 71 additions and 9 deletions
+17
View File
@@ -0,0 +1,17 @@
services:
web:
build: .
ports:
- "8000:8000"
volumes:
- ./db:/app/db
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
depends_on:
- redis
redis:
image: "redis:alpine"
ports:
- "6379:6379"